Home » Eclipse Projects » Eclipse Platform » RedHat 9 launcher crash
RedHat 9 launcher crash [message #57824] |
Sun, 01 June 2003 02:05 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: irishale.pinehurst.net
I've recently installed j2sdk se v 1.4.1_02, and it seems to be working
correctly from the command line. I have added classpath, path, and
java_home entries to a java.sh file in the /etc/profile.d directory, and
made it executable. The eclipse package I have is
eclipse-SDK-2.1-linux-gtk.zip.
When I try to run eclipse (./eclipse), I get the following in the
terminal window:
Warning: -os not understood. Ignoring.
Warning: -ws not understood. Ignoring.
Warning: -arch not understood. Ignoring.
Warning: -showsplash not understood. Ignoring.
and the following in the .log file:
!SESSION
------------------------------------------------------------ ----------
!ENTRY org.eclipse.core.launcher 4 0 May 31, 2003 21:05:44.119
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at 0x40268de4: java.lang.Throwable.Throwable() (/usr/lib/./libgcj.so.3)
at 0x4025bcaf: java.lang.Exception.Exception() (/usr/lib/./libgcj.so.3)
at 0x4025f56f: java.lang.RuntimeException.RuntimeException()
(/usr/lib/./libgcj.so.3)
at 0x4025ec67: java.lang.NullPointerException.NullPointerException()
(/usr/lib/./libgcj.so.3)
at 0x4023079a: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
(/usr/lib/./libgcj.so.3)
at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
at 0x4038305c: ?? (??:0)
at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
(/usr/lib/./libgcj.so.3)
at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
at 0x4038305c: ?? (??:0)
at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
(/usr/lib/./libgcj.so.3)
at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
at 0x4038305c: ?? (??:0)
at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
(/usr/lib/./libgcj.so.3)
at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
at 0x4038305c: ?? (??:0)
at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main()
(/usr/lib/./libgcj.so.3)
at 0x402ad02d: gnu.gcj.runtime.FirstThread.run()
(/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte
const, boolean) (/usr/lib/./libgcj.so.3)
at 0x08048910: ?? (??:0)
at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
at 0x080486c1: ?? (??:0)
Anybody have any idea what's going on? I did a FULL install from the cd's
(version 9)... and there seems to be GTK+2.0 installed. I'm lost...
PLEASE help!!!
|
|
|
Re: RedHat 9 launcher crash [message #57922 is a reply to message #57824] |
Sun, 01 June 2003 07:27 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: stelian.iancu.gmx.net
ScotM wrote:
> I've recently installed j2sdk se v 1.4.1_02, and it seems to be working
> correctly from the command line. I have added classpath, path, and
> java_home entries to a java.sh file in the /etc/profile.d directory, and
> made it executable. The eclipse package I have is
> eclipse-SDK-2.1-linux-gtk.zip.
>
> When I try to run eclipse (./eclipse), I get the following in the
> terminal window:
>
I can see some references to gcj in that output. Did you also install gcj on
that machine? I suggest trying to execute eclipse with the -vm argument.
I've created a bash script for that, and it looks like this:
#!/bin/bash
$HOME/Programs/eclipse/eclipse -vm /usr/java/j2sdk1.4.1/bin/java
Note that I am using Mandrake 9.1, but it shouldn't matter.
--
Stelian Iancu
Linux registered user 287835
Be different. Think.
|
|
|
Re: RedHat 9 launcher crash [message #57946 is a reply to message #57922] |
Sun, 01 June 2003 12:01 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: irishale.pinehurst.net
I tried that... w/ every possible directory that it could be looking for
under j2sdk<ver>... and every time I get:
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:
/usr/java/j2sdk1.4.1_02 ... <or whatever path>
It's like it can't find the VM...
On Sun, 01 Jun 2003 10:27:40 +0300, Stelian Iancu wrote:
> #!/bin/bash
> $HOME/Programs/eclipse/eclipse -vm /usr/java/j2sdk1.4.1/bin/java
|
|
|
Re: RedHat 9 launcher crash [message #58121 is a reply to message #57946] |
Sun, 01 June 2003 15:08 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: stelian.iancu.gmx.net
Scott Mace wrote:
> I tried that... w/ every possible directory that it could be looking for
> under j2sdk<ver>... and every time I get:
>
> A Java Runtime Environment (JRE) or Java Development Kit (JDK)
> must be available in order to run Eclipse. No Java virtual machine
> was found after searching the following locations:
> /usr/java/j2sdk1.4.1_02 ... <or whatever path>
>
> It's like it can't find the VM...
>
>
>
> On Sun, 01 Jun 2003 10:27:40 +0300, Stelian Iancu wrote:
>
>> #!/bin/bash
>> $HOME/Programs/eclipse/eclipse -vm /usr/java/j2sdk1.4.1/bin/java
Are you sure you have the proper rights in those directories?
--
Stelian Iancu
Linux registered user 287835
Be different. Think.
|
|
|
Re: RedHat 9 launcher crash [message #58387 is a reply to message #58121] |
Mon, 02 June 2003 01:34 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: irishale.pinehurst.net
On Sun, 01 Jun 2003 18:08:25 +0300, Stelian Iancu wrote:
> Scott Mace wrote:
>
>> I tried that... w/ every possible directory that it could be looking for
>> under j2sdk<ver>... and every time I get:
>>
>> A Java Runtime Environment (JRE) or Java Development Kit (JDK)
>> must be available in order to run Eclipse. No Java virtual machine
>> was found after searching the following locations:
>> /usr/java/j2sdk1.4.1_02 ... <or whatever path>
>>
>> It's like it can't find the VM...
>>
>>
>>
>> On Sun, 01 Jun 2003 10:27:40 +0300, Stelian Iancu wrote:
>>
>>> #!/bin/bash
>>> $HOME/Programs/eclipse/eclipse -vm /usr/java/j2sdk1.4.1/bin/java
>
> Are you sure you have the proper rights in those directories?
Ok, Ok, I feel like an idiot... here's what I found:
first off, I "had" to get rid of the java vm/compiler that the full
version of RedHat 9 installed. (and ran 'updatedb' to get rid of the
locate references... dont' know if that was necessary or not, but did it
anyway :) )
Then, I installed the j2sdk... it ended up in /usr/java/j2sdk1.4.1_02
then the fun part... the paths. I've always *thought* I had a pretty good
handle on paths from my windows/dos days, but Linux seemed a little nuts
about it... had to logout/login to be sure changes were taking effect,
unlike W2K, which has spoiled me...
End result, it runs now,as long as (under my username) I launch it with:
../eclipse -data /home/scott/workspace
I want to thank you guys... I'm a relatively-speaking linux newbie
(sendmail only to this point), and I'm looking seriously at linux as a way
of reducing my company's IT expenditures... so, I gotta learn to develope
for it now... that head-start thing. Thanks!
|
|
|
Goto Forum:
Current Time: Fri Aug 16 18:26:42 GMT 2024
Powered by FUDForum. Page generated in 0.03954 seconds
|