java.lang.NoSuchMethodError on startup [message #127203] |
Sat, 13 December 2003 14:31  |
Eclipse User |
|
|
|
Originally posted by: mikemarkovich.comcast.net
Hi,
I just installed Eclipse 3_05 on my linux box, Mandrake 9.2. When I try
to start eclipse I get the following error message.
java.lang.NoSuchMethodError:
java/io/FileOutputStream.getChannel()Ljava/nio/channels/File Channel;
at org.eclipse.core.launcher.Main.isAlreadyRunning (Main.java:1505)
at org.eclipse.core.launcher.Main.main (Main.java:597)
I'm using J2SDK1.4.2_03, which I just installed also and I have JAVA_HOME
set to point to J2SDK1.4.2_03.
At first I thought I had a corrupted download, so I downloaded and
installed eclipse again. I also tried using the latest release. Same
message. I've also reinstalled the JDK a couple of times with no luck.
Can anyone offer some insights?
Thanks,
Mike
|
|
|
Re: java.lang.NoSuchMethodError on startup [message #127268 is a reply to message #127203] |
Sun, 14 December 2003 14:31  |
Eclipse User |
|
|
|
Originally posted by: mikemarkovich.comcast.net
It's fixed. I believe this problem was caused because the JRE that
Mandrake installs by default was in the path. I removed references to the
default JRE from the path and things seem to be working.
For what it's worth my full path is below:
/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/ games:/bin:/home/toad/bin:/home/toad/j2sdk1.4.2_03:/home/toa d/j2sdk1.4.2_03/bin:/home/toad/eclipse
Mike
Mike wrote:
> Hi,
> I just installed Eclipse 3_05 on my linux box, Mandrake 9.2. When I try
> to start eclipse I get the following error message.
> java.lang.NoSuchMethodError:
> java/io/FileOutputStream.getChannel()Ljava/nio/channels/File Channel;
> at org.eclipse.core.launcher.Main.isAlreadyRunning (Main.java:1505)
> at org.eclipse.core.launcher.Main.main (Main.java:597)
> I'm using J2SDK1.4.2_03, which I just installed also and I have JAVA_HOME
> set to point to J2SDK1.4.2_03.
> At first I thought I had a corrupted download, so I downloaded and
> installed eclipse again. I also tried using the latest release. Same
> message. I've also reinstalled the JDK a couple of times with no luck.
> Can anyone offer some insights?
> Thanks,
> Mike
|
|
|
Powered by
FUDForum. Page generated in 0.06693 seconds