Hi,
I set the Jde Applerviewer Option VM Args to the following :

/----------
Jde Appletviewer Option Vm Args: [Hide]
[INS] [DEL] Argument: classic
[INS]
   [State]: you have set this option, but not saved it for future
sessions.
Specify arguments (e.g., -Xmx16m) to the vm that runs appletviewer.
[More]
/-----------

and now I get the following error message :

/-----------
cd d:/RJocham/CodeExamples/javabeansexamples/chapter8/
appletviewer -Jclassic -debug Applet.html

java.lang.NoClassDefFoundError: classic
Exception in thread "main" 
Debugger exited abnormally with code 1
/------------

My O'Reilly 'Java in a Nutshell V1.3' tells me the following :

page 209 : Client or Classic VM
[...] The Client VM uses Sun's HotSpot [...] this is the default VM.
To select the 'Classic VM', specify the -classic option.

page 201 : appletviewer 
-J<javaoption>
This option passes the specified <javaoption> as a command line
argument to the Java interpreter. [...]

appletviewer also recognizes the -class, -native and -green options
that the Java interpreter recognizes. [...]

So I had a play on DOS :

1.
appletviewer -classic Applet.html // works fine -> applet starts

2.
appletviewer -Jclassic Applet.html // shows the following error :

Exception in thread "main" java.lang.NoClassDefFoundError:

We know this error message from the error message above!

As the 'J' is being added by JDE, I dare to say that there is a
problem, either the applerviewer or the JDE don't do their job.

Any suggestions or better advice ?!?!

Thanks
Ralph



"Ensinger, Karsten" wrote:
> 
> Hi Ralph!
> 
> Following the mailing list it is not possible to use JDEbug for debugging
> an application which is started within a HotSpot VM.
> You have to start the VM via "-classic".
> 
> Regards
> Karsten Ensinger
> Dresdner Kleinwort Benson
> Global Markets Information Technology
> - Business Analysis Fixed Income -
> Phone  +(49) 69 263-12338
> Fax    +(49) 69 263-10294
> Mail   [EMAIL PROTECTED]
> 
> > -----Original Message-----
> > From: Ralph Jocham [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, June 15, 2000 13:10
> > To:   [EMAIL PROTECTED]
> > Subject:      Debuging an Applet
> >
> > Hi,
> >
> > SYSTEM: WinNT4SP5, JDK1.3, JDE2.1.6 and JDEbug as debuger
> >
> > I'm trying to debug an applet, running the applet from jde works fine.
> >
> > I start with : JDE->Debug Applet
> >
> > It brings up the appletviewer window and that shows at left bottom
> > corner
> > 'loading applet'
> > and then
> > 'applet startet'
> >
> > The debug window shows :
> >
> > /---------------
> > cd d:/RJocham/CodeExamples/javabeansexamples/chapter8/
> > appletviewer -debug Applet.html
> >
> > Initializing jdb...
> > > Deferring breakpoint SimulatorSample.init.
> > It will be set after the class is loaded.
> > > run sun.applet.Main Applet.html
> > Java HotSpot(TM) Client VM warning: Setting of property "java.compiler"
> > is ignored
> > >
> > VM Started: Set deferred breakpoint SimulatorSample.init
> > /-----------------
> >
> > That's the end of the stoy nothing more happens ....
> >
> > Thanks for any help
> >
> > Ralph
> >
> > --
> > ___________________________________________________________________
> >
> >                   The Internet Changes Everything
> >                             iSolutions
> > ___________________________________________________________________
> > Ralph Jocham                          e-mail: [EMAIL PROTECTED]
> > Software Engineer                        phone : (44) 0118 92 43991
> > Oracle Parkway, Building 520
> > Thames Valley Park, Reading RG6 1RA
> > ______________________________________________  __  __ _  __ .   __
> > Opinions are my own and not those of...        (__)|-</-\(__ |__(-_

-- 
___________________________________________________________________
             
                  The Internet Changes Everything
                            iSolutions
___________________________________________________________________
Ralph Jocham                          e-mail: [EMAIL PROTECTED]
Software Engineer                        phone : (44) 0118 92 43991
Oracle Parkway, Building 520
Thames Valley Park, Reading RG6 1RA
______________________________________________  __  __ _  __ .   __
Opinions are my own and not those of...        (__)|-</-\(__ |__(-_

Reply via email to