RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 7:18 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: RR requires a 32 bit JRE
PostPosted: Sun Nov 10, 2024 6:47 pm 
Offline
Newbie

Joined: Wed Dec 09, 2015 12:13 am
Posts: 14
Hello, i tried a bunch of stuff and i cant fix this issue


Top
 Profile  
 
 Post subject: Re: RR requires a 32 bit JRE
PostPosted: Tue Nov 12, 2024 7:07 am 
Offline
Moderator
User avatar

Joined: Sat Jul 06, 2013 8:55 am
Posts: 3264
Location: NI
have you tried installing 32bit java after uninstalling all other javas on the machine? Don't forget to reboot after doing that then see what it says.

_________________

Good luck and may the logs be ever in your favour!


Top
 Profile  
 
 Post subject: Re: RR requires a 32 bit JRE
PostPosted: Tue Nov 12, 2024 12:56 pm 
Offline
RomRaider Donator

Joined: Thu Jan 24, 2013 5:33 am
Posts: 96
Location: Maribor, Slovenia
Since I need 64-bit Java on my computer for some other things, I have both versions and 64-bit is the one that's in the '%PATH%'.

Which was annoying as I had to edit batch files manually and correct the path each time after a Java upgrade.

So I ended up making an additional batch file 'get_java_home.bat', which takes '32' or '64' as an argument, finds the JavaHome from the registry and sets 'JAVA_HOME' variable accordingly. The script assumes that the Java version is the same for 32 and 64 bit java.

Then I changed RomRaider's batch files to use that script and resulting %JAVA_HOME% variable for starting javaw.exe:
Code:
@echo off

call get_java_home.bat 32
if errorlevel 1 (
    echo Failed to set JAVA_HOME.
    exit /b 1
)
:: 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
start "" "%JAVA_HOME%\bin\javaw" -Djava.library.path=lib/windows -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dsun.java2d.d3d=true -Xms64M -Xmx512M -jar RomRaider.jar 1>>"%HOMEPATH%\.RomRaider\romraider_sout.log" 2>&1
:: Start Editor


I'm sure this can be further improved, but I hope this helps someone or even gets incorporated in RomRaider shipped batch files.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: RR requires a 32 bit JRE
PostPosted: Tue Nov 12, 2024 1:33 pm 
Offline
Moderator
User avatar

Joined: Sat Jul 06, 2013 8:55 am
Posts: 3264
Location: NI
not a bad way to do it, you could also run the 64bit version of romraider as well - :
https://github.com/RomRaider/RomRaider/releases

Just scroll down to "Experimental 64bit" - I've used it a few times without any issues.

_________________

Good luck and may the logs be ever in your favour!


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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