RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 10:57 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Romraider incompatible JRE
PostPosted: Sun Apr 24, 2022 3:21 pm 
Offline
Newbie

Joined: Mon Feb 16, 2009 5:17 pm
Posts: 94
I understand using the maf scaling tool you need Java jdk18. I also understand Romraider wont work with anything past Java 8. They said you can change how Java is referenced in Romraider. By changing the RUN.bat. I found the code and wrote it in its place it still doesn't work.


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Sun Apr 24, 2022 6:03 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
The latest version works with Java 6 thru 11, (32bit).
Use the run.bat file from here and set the java_path to your preferred Java installation.

:: Adjust java_path to javaw.exe as required for your Java system installation.
:: If the path has spaces in it make sure it is within the quotes of java_path.
:: End the path with a \ directory separator.
set "java_path="

In my case on my computer I would set it like so:
set "java_path=C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.322.6-hotspot\jre\bin\"


Do not change the -Djava.library.path entry if you wish RomRaider to work.


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Tue Apr 26, 2022 8:04 pm 
Offline
Newbie

Joined: Mon Feb 16, 2009 5:17 pm
Posts: 94
Well installed Java 18 for Maf 2.7.0 and JRE error again. run.bat hasn't changed. The bat file was working before installed java 18 and after. Very odd.

I thought was all good.


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Wed Apr 27, 2022 8:55 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
What is Maf 2.7.0 ?


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Wed Apr 27, 2022 11:38 am 
Offline
Newbie

Joined: Mon Feb 16, 2009 5:17 pm
Posts: 94
https://www.romraider.com/forum/viewtopic.php?f=32&t=10481Maf scaling tool. Newest version requires newer Java but previous version doesn’t.


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Wed Apr 27, 2022 6:46 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
What is the JRE error message?

Set the set "java_path=" variable in the run.bat to any version of 32bit Java between versions 6 to 11. Java 18 will not work.

Post your entire run.bat and the full path to your Java installation that is not Java 18.


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Fri Apr 29, 2022 5:18 pm 
Offline
Newbie

Joined: Mon Feb 16, 2009 5:17 pm
Posts: 94
Here is the bat.run file I can use to open rr until I install java 18.

Code:
:: Uncomment the line for the mode you wish to run.  Comment all other lines.
:: Adjust path to javaw.exe as required for your Java system installation
set"java_path=C:\Program_Files_(x86)\Java\jre1.8.0_331\bin\"
:: Start Editor with console redirected to %HOMEPATH%\.RomRaider\romraider_sout.log
start %java_path%javaw -Djava.library.path=lib/windows/32 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dsun.java2d.d3d=true -Xms64M -Xmx512M -jar RomRaider.jar 1>>"%HOMEPATH%\.RomRaider\romraider_sout.log" 2>&1

:: Start Logger
rem start %java_path%javaw -Djava.library.path=lib/windows/32 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dsun.java2d.d3d=true -Xms64M -Xmx512M -jar RomRaider.jar -logger 1>>"%HOMEPATH%\.RomRaider\romraider_sout.log" 2>&1

:: Start Logger in full screen mode
rem start %java_path%javaw -Djava.library.path=lib/windows/32 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dsun.java2d.d3d=true -Xms64M -Xmx512M -jar RomRaider.jar -logger.fullscreen 1>>"%HOMEPATH%\.RomRaider\romraider_sout.log" 2>&1

:: Start Logger in Touch screen mode
rem start %java_path%javaw -Djava.library.path=lib/windows/32 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dsun.java2d.d3d=true -Xms64M -Xmx512M -jar RomRaider.jar -logger.touch 1>>"%HOMEPATH%\.RomRaider\romraider_sout.log" 2>&1


When I install Java 18 I get the JRE Compatibility Warning box.
Incompatible JRE detected.
RomRaider Editor requires a 32-bit JRE for full feature support.
RomRaider will open but when I select logger I get same error and when click ok it closes.

If I uninstall Java 18 its back to normal


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Fri Apr 29, 2022 5:21 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
You are missing a space after set.
set "java_path=C:\Program_Files_(x86)\Java\jre1.8.0_331\bin\"

But is still won't work, you need to use the version posted here: https://raw.githubusercontent.com/RomRa ... ts/run.bat


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Fri Apr 29, 2022 5:27 pm 
Offline
Experienced

Joined: Mon Jan 22, 2007 1:36 pm
Posts: 348
Location: Wilmington, NC
OK, so I've read thru this thread.

I gotta be honest, its been a while since I was here and need some pointers on how to fix this.

How do I access the run.bat file?


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Fri Apr 29, 2022 7:13 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Open in Notepad.


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Sat Apr 30, 2022 9:32 am 
Offline
Newbie

Joined: Mon Feb 16, 2009 5:17 pm
Posts: 94
Thank you dschultz!!!!!!! I finally got it working. I ended up using file you linked. Used "java_path=C:\Program Files (x86)\Java\jre1.8.0_331\bin\" no underscores. Used the run.bat file to open, created a shortcut for the run.bat on desktop and everything is golden finally. I Have RomRaider and can use the newest MAF Scaling 2.7.


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Thu Nov 10, 2022 1:57 am 
Offline
Newbie

Joined: Thu Apr 09, 2009 11:00 am
Posts: 2
I get a "unable to access jarfile RomRaider.jar" error...


Top
 Profile  
 
 Post subject: Re: Romraider incompatible JRE
PostPosted: Fri Mar 03, 2023 12:53 pm 
Offline
Newbie

Joined: Sun Jan 06, 2019 6:42 pm
Posts: 39
Location: South Wales, UK
dschultz,

I know this sounds bonkers, but why cant I see the .bat file in the root folders..

I also have Maff scaling and Romraider issues to.

Mark.

Never mind, found in now, and edited it.....

_________________
MY04 Impreza WRX (EDM)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl