|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
gabedude
|
Post subject: Linux install Posted: Mon Feb 26, 2007 10:31 am |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
I know this is a cross post, but can one of you guys give me a guide (Tgui?). I know I can run java apps in my gentoo, but I must have a totally wrong environment. I am using the balckdown jre, but I am not sure if thats all you need. I know jack about java as you guys pretty much know already. I do know how to palce libraries and such in correct dirs though.
A linux install guide would be cool, I have tried to search.
http://www.romraider.com/forum/viewtopic.php?t=1322
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Re: Linux install Posted: Mon Feb 26, 2007 11:28 am |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
gabedude wrote: I know this is a cross post, but can one of you guys give me a guide (Tgui?). I know I can run java apps in my gentoo, but I must have a totally wrong environment. I am using the balckdown jre, but I am not sure if thats all you need. I know jack about java as you guys pretty much know already. I do know how to palce libraries and such in correct dirs though.  A linux install guide would be cool, I have tried to search. http://www.romraider.com/forum/viewtopic.php?t=1322
First off, don't use the blackdown JRE. I can't say for sure that it would work RomRaider. Also, don't use GCJ. Please use Suns JRE.
Beyond that, you'll need to post some console logs showing the issues you are having. 
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Re: Linux install Posted: Mon Feb 26, 2007 12:17 pm |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
Tgui wrote: gabedude wrote: I know this is a cross post, but can one of you guys give me a guide (Tgui?). I know I can run java apps in my gentoo, but I must have a totally wrong environment. I am using the balckdown jre, but I am not sure if thats all you need. I know jack about java as you guys pretty much know already. I do know how to palce libraries and such in correct dirs though.  A linux install guide would be cool, I have tried to search. http://www.romraider.com/forum/viewtopic.php?t=1322First off, don't use the blackdown JRE. I can't say for sure that it would work RomRaider. Also, don't use GCJ. Please use Suns JRE. Beyond that, you'll need to post some console logs showing the issues you are having. 
Console logs are in the other post. Lemme install Suns JRE and see if that helps first. Thanks.
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Re: Linux install Posted: Mon Feb 26, 2007 12:31 pm |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
gabedude wrote: Console logs are in the other post. Lemme install Suns JRE and see if that helps first. Thanks.
Crap, I forgot to have ssh running on that box. Argh. Now I can't fix it from work. Oh well. So basically, just get the blackdown JRE un-installed and install Sun's JRE right? I know Gentoo typically takes care of all the java paths to libraries it needs and sets up the env correctly.
-Gabe
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Posted: Mon Feb 26, 2007 2:43 pm |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
Hey Tgui,
Will any of the packages here work? I'd like to avoid (if possible) just d/l the jre from sun directly. Looks like I could use the "sun-jre-bin" from portage (its on an x86). What do you think?
http://packages.gentoo.org/search/?sstring=jre
-Gabe
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Mon Feb 26, 2007 2:51 pm |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
gabedude wrote: Hey Tgui, Will any of the packages here work? I'd like to avoid (if possible) just d/l the jre from sun directly. Looks like I could use the "sun-jre-bin" from portage (its on an x86). What do you think? http://packages.gentoo.org/search/?sstring=jre-Gabe
If you can verify that these packages are just in fact either wrappers of or repackages of Suns JRE, then you should be ok.
I find it easier to install Suns JRE and modify my .bash_profile to set PATH info though.
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Posted: Mon Feb 26, 2007 3:07 pm |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
Tgui wrote: gabedude wrote: Hey Tgui, Will any of the packages here work? I'd like to avoid (if possible) just d/l the jre from sun directly. Looks like I could use the "sun-jre-bin" from portage (its on an x86). What do you think? http://packages.gentoo.org/search/?sstring=jre-Gabe If you can verify that these packages are just in fact either wrappers of or repackages of Suns JRE, then you should be ok. I find it easier to install Suns JRE and modify my .bash_profile to set PATH info though.
Seems everything is setup right, but this is on my AMD64 box (I can't get at my tuning laptop yet which is runnign an x86 kernel). Anyway, this is what I get:
Code: gabe@workstation ~/tuning $ java-config -L The following VMs are available for generation-2: *) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] 2) Sun 32bit JRE 1.5.0.10 [emul-linux-x86-java-1.5] 3) Sun JDK 1.5.0.08 [sun-jdk-1.5] gabe@workstation ~/tuning $ java-config -s 2 Now using emul-linux-x86-java-1.5 as your user JVM gabe@workstation ~/tuning $ java-check-environment * === Java Environment Checker === * The purpose of this script is to check the sanity of your Java Environment. * We have significantly changed and improved the way Java is handled in many respects. * Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details
* Checking vm_environment_files ... [ ok ]
* Checking user_settings ... [ ok ]
* Checking generation_1_system_vm ... [ ok ]
* Checking virtual_provides ... [ ok ]
* Checking overlays_eclasses ... [ ok ]
* Java environment is sane. Congratulations! gabe@workstation ~/tuning $ java-config -o /opt/emul-linux-x86-java-1.5.0.10 gabe@workstation ~/tuning $ java-config -L The following VMs are available for generation-2: 1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] *) Sun 32bit JRE 1.5.0.10 [emul-linux-x86-java-1.5] 3) Sun JDK 1.5.0.08 [sun-jdk-1.5] gabe@workstation ~/tuning $ gabe@workstation ~/tuning $ java RomRaider0.4.0b-linux.jar Exception in thread "main" java.lang.NoClassDefFoundError: RomRaider0/4/0b-linux/jar gabe@workstation ~/tuning $
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Mon Feb 26, 2007 3:25 pm |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
|
To execute a jar via the command line: "java -jar RomRaider....jar"
Try that.
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Posted: Mon Feb 26, 2007 4:01 pm |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
Tgui wrote: To execute a jar via the command line: "java -jar RomRaider....jar"
Try that.
I told ya I knew jack about java!
Looks like it will work even on my AMD64 kernel box. Just can't find X cause I am ssh'd in.
Code: gabe@workstation ~/tuning $ java -jar RomRaider0.4.0b-linux.jar java.awt.sx: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159) at java.awt.Window.<init>(Window.java:317) at java.awt.Frame.<init>(Frame.java:419) at java.awt.Frame.<init>(Frame.java:384) at javax.swing.JFrame.<init>(JFrame.java:150) at com.izforge.izpack.installer.GUIInstaller.loadLangPack(GUIInstaller.java:211) at com.izforge.izpack.installer.GUIInstaller.access$000(GUIInstaller.java:79) at com.izforge.izpack.installer.GUIInstaller$1.run(GUIInstaller.java:127) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) java.lang.NullPointerException at com.izforge.izpack.installer.GUIInstaller.loadGUI(GUIInstaller.java:409) at com.izforge.izpack.installer.GUIInstaller.access$100(GUIInstaller.java:79) at com.izforge.izpack.installer.GUIInstaller$2.run(GUIInstaller.java:148) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) gabe@workstation ~/tuning $
Thanks Tgui!
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Mon Feb 26, 2007 4:30 pm |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
No prob man
Also, there is a more up dated version of Enginuty out there.
|
|
| Top |
|
 |
|
drees
|
Post subject: Re: Linux install Posted: Mon Feb 26, 2007 4:58 pm |
|
 |
| RomRaider Developer |
 |
Joined: Thu Mar 23, 2006 5:21 am Posts: 454 Location: San Diego, CA
|
gabedude wrote: I know this is a cross post.
You got me!
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Posted: Mon Feb 26, 2007 6:07 pm |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
Tgui wrote: No prob man  Also, there is a more up dated version of Enginuty out there.
Yeah I have it on my dedicated laptop. That was just sittin there on my AMD64 X2 box when i was trying to figure out how to launch it right.
Thanks for the help. Prolly the newbiest of newbie java questions. LOL.
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Posted: Mon Feb 26, 2007 10:48 pm |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
|
Ok so I got it running. Problems:
Cannot open more than one map at a time. Complains about heap space.
Cannot connect to the ECU. It seems I have no driver in my 2.6.11 kernel for the tatrix. I figure its prolly just a serial to usb adapter so i am compiling a new kernel with all those type modules.
Anyway, logging in linux and flashing are supposed to werk right?
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Posted: Tue Feb 27, 2007 12:35 am |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 5:11 pm Posts: 966 Location: Hillsboro, Oregon
|
|
This is prolly it:
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Tue Feb 27, 2007 1:21 am |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
gabedude wrote: This is prolly it:
Huh, cool  Truthfully I've dropped my linux laptop since I got my macbook. I didn't know the FTDI drivers now come with the 2.6 kernel  Thanks for your digging!
|
|
| Top |
|
 |
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
|
|