Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » java.lang.NoSuchMethodError on startup
java.lang.NoSuchMethodError on startup [message #127203] Sat, 13 December 2003 19:31 Go to next message
Eclipse UserFriend
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 19:31 Go to previous message
Eclipse UserFriend
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
Previous Topic:assert rejected in 3m5
Next Topic:[ANN] MyEclipse new release - Expanded XML, JSP and Struts Support
Goto Forum:
  


Current Time: Sat Aug 17 20:17:05 GMT 2024

Powered by FUDForum. Page generated in 0.02275 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top