Applet debugging : what is -classic parameter

Hi, I'm trying to debug an applet with the jdk 1.3.1_04, and Idea
always put a -classic parameter in the command line, that prevent
the jvm to launch itself (this jdk dislike this parameter).
I don't know where it came from, any idea ?

4 comments

Matthieu Casanova wrote:

Hi, I'm trying to debug an applet with the jdk 1.3.1_04, and Idea
always put a -classic parameter in the command line, that prevent
the jvm to launch itself (this jdk dislike this parameter).
I don't know where it came from, any idea ?


The -classic parameter tells the JDK to use the classic JVM rather than
the HotSpot JVM. I think debugging under JDK 1.3.x worked better in the
classic JVM for some reason, but I've forgotten the details.

0

I'd say with JDK 1.3.x debugging is usable only if the debuggee is launched in the classic mode.

--

Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Try unchecking "Force classic VM for JDK 1.3.x" in Settings | Debugger. Does
it work then?

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Matthieu Casanova" <hoyo@free.fr> wrote in message
news:bvdp2d$9bg$1@is.intellij.net...

Hi, I'm trying to debug an applet with the jdk 1.3.1_04, and Idea
always put a -classic parameter in the command line, that prevent
the jvm to launch itself (this jdk dislike this parameter).
I don't know where it came from, any idea ?



0

Valentin Kipiatkov (JetBrains) wrote:

Try unchecking "Force classic VM for JDK 1.3.x" in Settings | Debugger. Does
it work then?


Yes it works fine now, thanks.
This made me think about one question : is there somewhere an
option to launch Run/debug with different jdks (and be able to switch
them quickly) instead of changing project settings. If not, it would be
be cool to have that option

0

Please sign in to leave a comment.