It took me a few hours tonight to track down all the information I needed to get this running so I figured I would put it all together here for future use.
As the Subject implies these steps are for Debian Lenny 64bit. If you are trying to setup RomRaider on another Linux distribution the key is to ensure you are using Sun's JRE and if you are running a 64bit OS you need to make sure to use the 32bit JRE.
If you use the default options during the RomRaider install running these commands as is should get you going. If you choose to install to a path other than /usr/local/RomRaider make sure to edit the appropriate commands to reflect your different path. (I shouldn't have to say this, but here it is anyway.) As always remember paths in linux are case sensitive.
First off you will need to have the Sun JRE installed. Again it is important that you install the 32bit version of the JRE because one of the shared libraries shipped with RomRaider is a 32bit binary.
Make sure you have the non-free repository in your apt sources. For example I added the below to my /etc/apt/sources.list
Code:
deb http://ftp.us.debian.org/debian lenny main contrib non-free
After adding that to your sources you will want to update the apt database by running this command.
Code:
sudo apt-get update
Then you will want to install the 32bit JRE by executing the below command.
Code:
sudo apt-get install ia32-sun-java6-bin
Note: On my system the "java" located at /usr/bin/java was the gnu jre which we
don't want to use.
Execute the below command to install RomRaider. Make sure to change *Path to RomRaider installer* to the location of the installer file!
Code:
sudo /usr/lib/jvm/ia32-java-6-sun/bin/java -jar *Path to RomRaider installer*
Follow along with the install dialogs to install the application.
Once that is done we will need to add a couple of symlinks to make sure our OpenPort is detected by the RomRaider logger. Execute the two following commands to finish the installation.
Code:
sudo ln -s /usr/local/RomRaider/lib/linux/librxtxSerial.so /usr/lib/jvm/ia32-java-6-sun/jre/lib/i386/
sudo ln -s /usr/local/RomRaider/lib/common/RXTXcomm.jar /usr/lib/jvm/ia32-java-6-sun/jre/lib/ext/
Finally you should be able to execute RomRaider by using the below command.
Code:
/usr/lib/jvm/ia32-java-6-sun/jre/bin/java -jar /usr/local/RomRaider/RomRaider.jar
Just like the Windows version you will need to download the ecu definitions and the logger definitions and setup the application to use them. At this point your RomRaider install should be done!
Edit: This morning I found that when running RomRaider I needed to execute the above command from withing the RomRaider directory. (I am not all that well versed in java so there may be a better way to do this.) Basically there is a file called log4j.properties that needs to be available during runtime. I would guess there is a way to add this to an environment variable, but I am unsure what the proper way to do that is. executing from within /usr/local/RomRaider works just fine though.