Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

running jdk1.2

1 view
Skip to first unread message

Song Huang

unread,
Apr 1, 1999, 3:00:00 AM4/1/99
to
Hello. it seems a lot of people are having problem running jdk1.2. does
anyone have a clues? the problem is:

the application works fine if the Target jdk version is
"jdk1.16_borland", as soon as i change it to 'java version 1.2', which
is defined as follow:

path of java.exe : D:\jdk1.2\bin\java.exe
class path:
D:\jdk1.2\jre\lib\rt.jar;D:\jdk1.2\jre\lib\i18n.jar;D:\jdk1.2\lib\dt.jar

Source path: D:\jdk1.2\src.jar

I got the following error message:

D:\jdk1.2\bin\javaw.exe -classpath
"D:\jbuilder2\myclasses;D:\JBUILDER2\lib\swingall.jar;D:\JBUILDER2\lib\jbcl2.0.jar;D:\JBUILDER2\lib\jbcl2.0-res.jar;D:\JBUILDER2\lib\jgl3.1.0.jar;D:\jdk1.2\jre\lib\rt.jar;D:\jdk1.2\jre\lib\i18n.jar;D:\jdk1.2\lib\dt.jar;D:\JBUILDER2\dependency\~javaversion1.2"
untitled1.Application1
Warning: JIT compiler "javacomp" not found. Will use interpreter.
java.lang.VerifyError: (class: untitled1/Application1, method: main
signature: ([Ljava/lang/String;)V) Incompatible argument to function
Exception in thread "main"

it seems jdk1.1.6 from borland is mixing up with jdk1.2. any ideas ? any
one ?

thank you for your time.

Song Huang


Peter Singer

unread,
Apr 2, 1999, 3:00:00 AM4/2/99
to
As statetd in another Message:
-------- Original Message --------
Subject: Re: Running jdk1.2
Date: 22 Mar 1999 10:25:30 +0100
From: Tor Iver Wilhelmsen <tor.wil...@sds.no>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.compiler
References: <36F589F7...@worldnet.att.net>
<36F5C723...@worldnet.att.net>

Arya Daneshyar <ar...@worldnet.att.net> writes:

> I do get a warning and error message. It comes and goes so fast
> that I could not see it first.

In "Project properties", "Run/debug", change the settings to send
output to the execution log.

> This is the message that I get:


> Warning: JIT compiler "javacomp" not found. Will use interpreter.

Add "-Djava.compiler=symcjit" to the java VM parameters line in
"Run/debug".


Song Huang

unread,
Apr 2, 1999, 3:00:00 AM4/2/99
to
with this :"-Djava.compiler=symcjit"

i was able to get rid of the warning"JIT compiler "javacomp" not found
but i still don't know how to fix the VerifyError: (class:


untitled1/Application1, method: main signature: ([Ljava/lang/String;)V)
Incompatible argument to function
Exception in thread "main"

any ideas.
Thanks

Song Huang

Tom Cloney

unread,
Apr 3, 1999, 3:00:00 AM4/3/99
to

Song Huang wrote in message <3704DD78...@mindspring.com>...

>with this :"-Djava.compiler=symcjit"
>
>i was able to get rid of the warning"JIT compiler "javacomp" not found
>but i still don't know how to fix the VerifyError: (class:
>untitled1/Application1, method: main signature: ([Ljava/lang/String;)V)
>Incompatible argument to function
>Exception in thread "main"
>
>any ideas.


If you used the Application wizard to create your application, the main()
function probably contains some code setting look and feel, such as:

UIManager.setLookAndFeel(new
com.sun.java.swing.plaf.windows.WindowsLookAndFeel());

If you comment this out, the error message will go away and the app will
run. I expect the syntax of the look and feel functions has changed (it
might be something Sun has moved), but I haven't had time to figure it out
yet. In the mean time, you can plow on through with the default (apparently
Metal) look.


KP2 KP2

unread,
Oct 21, 2023, 9:20:26 PM10/21/23
to
Good info.
0 new messages