Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Launch debugger problem
Launch debugger problem [message #243041] Fri, 14 December 2007 10:22 Go to next message
Eclipse UserFriend
Originally posted by: john.pedersen.gmail.com

Hi,

I have a new installation of Eclipse 3.3.1.1 Europa version.

Trying to use the debugger, I just get this:

org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localhost:50095
Thread [main] (Suspended (exception ClassNotFoundException))
ClassLoader.findBootstrapClass(String) line: not available [native
method]
Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(Str ing) line:
not available
Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line:
not available
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line:
not available
Launcher$AppClassLoader.loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not
available
Launcher$AppClassLoader(ClassLoader).loadClassInternal(Strin g) line: not
available

I have poked around with my classpath settings, but can't owrk out what's
wrong.

Can someone help please?

Thanks,

John
Re: Launch debugger problem [message #243085 is a reply to message #243041] Fri, 14 December 2007 14:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

John Pedersen wrote:
> Hi,
>
> I have a new installation of Eclipse 3.3.1.1 Europa version.
>
> Trying to use the debugger, I just get this:
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at
> localhost:50095
> Thread [main] (Suspended (exception ClassNotFoundException))
> ClassLoader.findBootstrapClass(String) line: not available
> [native method]
> Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(Str ing)
> line: not available
> Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean)
> line: not available
> Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean)
> line: not available
> Launcher$AppClassLoader.loadClass(String, boolean) line: not
> available
> Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not
> available
> Launcher$AppClassLoader(ClassLoader).loadClassInternal(Strin g)
> line: not available
>
> I have poked around with my classpath settings, but can't owrk out
> what's wrong.
>
> Can someone help please?

Try deleting the launch configuration for that JUnit and then let
Eclipse re-create it by right-clicking on the test class (or its
project) and choosing Run As...

Hope this helps,
Eric
Re: Launch debugger problem [message #243095 is a reply to message #243085] Fri, 14 December 2007 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.pedersen.gmail.com

Thanks for the suggestion.

I have just tried that, but got the same result.

I have some other tests, that used to work with the debugger with a
previous installation of Eclipse, but they don't work now.

JUnit is there in the classpath - something missing that I can't see.
Re: Launch debugger problem [message #243140 is a reply to message #243095] Fri, 14 December 2007 17:46 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
John Pedersen wrote:
> Thanks for the suggestion.
>
> I have just tried that, but got the same result.
>
> I have some other tests, that used to work with the debugger with a
> previous installation of Eclipse, but they don't work now.
>
> JUnit is there in the classpath - something missing that I can't see.
>
Hi John. It might help to narrow the problem down to know if the problem
is limited to JUnit tests and / or limited to debugger sessions. Can you
do JUnit with Run As? Can you debug a non-JUnit program? Thanks. Mark
Re: Launch debugger problem [message #243188 is a reply to message #243140] Fri, 14 December 2007 20:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.pedersen.gmail.com

Hi Mark,

It's limited to debugger sessions. Whether it is JUnit or a nonJUnit
program makes no difference. I can't do Debug As, and have tried deleting
configurations in the Debug Dialog, so that Eclipse will generate a new
configuration, but that doesn't help. I can do Run As just fine.

Always the same error message.

John

New_configuration [Java Application]
com.starfriend.utils.Test at localhost:51751
Thread [main] (Suspended (exception ClassNotFoundException))
ClassLoader.findBootstrapClass(String) line: not available [native
method]
Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(Str ing) line:
not available
Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line:
not available
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line:
not available
Launcher$AppClassLoader.loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not
available
Launcher$AppClassLoader(ClassLoader).loadClassInternal(Strin g) line:
not available
C:\Program Files\Java\jre1.6.0_03\bin\javaw.exe (14 Dec 2007 20:37:36)
Re: Launch debugger problem [message #243206 is a reply to message #243188] Fri, 14 December 2007 21:33 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
John Pedersen wrote:
> Hi Mark,
>
> It's limited to debugger sessions. Whether it is JUnit or a nonJUnit
> program makes no difference. I can't do Debug As, and have tried
> deleting configurations in the Debug Dialog, so that Eclipse will
> generate a new configuration, but that doesn't help. I can do Run As
> just fine.
>
> Always the same error message.
>
> John
>
> New_configuration [Java Application]
> com.starfriend.utils.Test at localhost:51751
> Thread [main] (Suspended (exception ClassNotFoundException))
> ClassLoader.findBootstrapClass(String) line: not available
> [native method]
>
> Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(Str ing) line:
> not available
> Launcher$ExtClassLoader(ClassLoader).loadClass(String,
> boolean) line: not available
> Launcher$AppClassLoader(ClassLoader).loadClass(String,
> boolean) line: not available
> Launcher$AppClassLoader.loadClass(String, boolean) line: not
> available
> Launcher$AppClassLoader(ClassLoader).loadClass(String) line:
> not available
>
> Launcher$AppClassLoader(ClassLoader).loadClassInternal(Strin g) line: not
> available
> C:\Program Files\Java\jre1.6.0_03\bin\javaw.exe (14 Dec 2007
> 20:37:36)
>
>
Hi John. I notice you're javaw.exe is very new (14 Dec 2007). I'm using
jre1.6.0_01 from March. It might be worth a try to try an older JRE. You
can change this in Eclipse in Window / Preferences / Java / Installed
JRE's. HTH. Mark
Re: Launch debugger problem [message #243244 is a reply to message #243206] Fri, 14 December 2007 23:51 Go to previous message
Eclipse UserFriend
Originally posted by: john.pedersen.gmail.com

Nope - that date is just the date I tried to run debug on a test class.

I am using jre1.6.0_03

John
Previous Topic:Editor Window Tabs Display Problem
Next Topic:How to debug with data from standard input?
Goto Forum:
  


Current Time: Fri Sep 27 02:50:36 GMT 2024

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

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

Back to the top