Re: Setting everything up
"Tobbe Lundberg" <[email protected]> Fri, 5 May 2006 19:19:39 +0200
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Thanks for your responce. I'm reading this in the UsersGuide: "You must provide the name of your application's main class, as well as the classpath that is normally used to launch your application." I've have the main class name in the "Launch Debuggee" dialog. It's called DebugTest. I don't use any classpath when I launch the program, I just type javac DebugTest.java to compile it and java DebugTest to run it. Does that mean I don't have to add any classpath to JSwat? I then hit the "Launch" button and get this in the Debugger Console: VM loaded for session Session 1 VM resumed for session Session 1 VM suspended for session Session 1 Exception java.lang.ClassNotFoundException occurred: "DebugTest" VM suspended for session Session 1 Stopped at java.net.URLClassLoader$1.run(), line 200 What more is needed? Thanks again //Tobbe On 5/5/06, Nathan Fiedler <[email protected]> wrote: > Have you read the UsersGuide.html for steps on getting started quickly? > That should explain a lot of what you're missing. If you run into any > issues, don't hesitate to ask. > > n > > > Tobbe Lundberg wrote: > > Hi > > > > I'm trying to set up JSwat to debug my local Java programs, but I'm > > not having much luck... > > I have read the help files but don't really understand what I have to > > do. I have never used any java debuggers before (I tried NetBeans as > > well, but couldn't get that to work either). > > > > Will JSwat read the CLASSPATH environment variable when looking for .ja= r > > files? > > > > I'm guessing I have to add something to the Classpath tab in the > > Launch Debuggee dialog, but what? > > > > The Parameters tab already had a Java Runtime set, do I need to click > > on the "..." button and change anything there? > > > > Product Version: JSwat 3.10 > > Operating System: Windows XP > > Java: 1.5.0_04 > > VM: Java HotSpot(TM) Client VM 1.5.0_04-b05 > > Java Home: C:\Program\Java\jdk1.5.0_04\jre > > > > Best Regards > > //Tobbe >