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

SDK 3.1 jvc classpath error J0162

134 views
Skip to first unread message

Pat Dickson

unread,
Sep 13, 1998, 3:00:00 AM9/13/98
to
I just installed the 3.1 SDK by download, and when I try to run jvc, I
get the message

fatal error J0162: Failed to initialize compiler

The SDK documentation says message J0162 indicates that the compiler
can't find the CLASSPATH, which is supposed to be set when the Java
virtual machine is installed. I tried setting CLASSPATH myself with the
DOS set command, and with the jvc /cp option, but no luck. I used
explorer to check the date on my classpath
\windows\java\classes\classes.zip
and it is the one I just installed by download.

Anybody have an idea what the problem is?

Mats Högberg

unread,
Sep 13, 1998, 3:00:00 AM9/13/98
to
Check the classpath in the registry too!

/Mats

Pat Dickson skrev i meddelandet <35FBEDF3...@ccwf.cc.utexas.edu>...

Ivan Filippenko

unread,
Sep 16, 1998, 3:00:00 AM9/16/98
to p...@ccwf.cc.utexas.edu
Hi,

I have the very same problem!
Were you able to figure out a way past it?

BTW, my classpath in the registry says:

"C:\WINDOWS\java\classes\classes.zip;C:\WINDOWS\java\classes;."

which however does not correspond to my entire classpath as set
for the environment variable in autoexec.bat. Does this matter?
I do have C:\Windows\Java\Classes\classes.zip as part of that
environment variable, though (do I need to?), among other things.
Unfortunately, an attempt to invoke jvc still produces this

fatal error J0162: Failed to initialize compiler

Many thanks for your help (anyone); it is greatly appreciated.

-- Ivan
iv...@objectshare.com

Pat Dickson wrote:
>
> I just installed the 3.1 SDK by download, and when I try to run jvc, I
> get the message
>
> fatal error J0162: Failed to initialize compiler
>
> The SDK documentation says message J0162 indicates that the compiler
> can't find the CLASSPATH, which is supposed to be set when the Java
> virtual machine is installed. I tried setting CLASSPATH myself with the
> DOS set command, and with the jvc /cp option, but no luck. I used
> explorer to check the date on my classpath
> \windows\java\classes\classes.zip
> and it is the one I just installed by download.
>
> Anybody have an idea what the problem is?

--

========================
Ivan Filippenko
Senior Software Engineer
ObjectShare, Inc.
iv...@objectshare.com
949-930-6327
========================

christia...@my-dejanews.com

unread,
Sep 17, 1998, 3:00:00 AM9/17/98
to
In article <35FFD910...@objectshare.com>,

Ivan Filippenko <iv...@objectshare.com> wrote:
>
> fatal error J0162: Failed to initialize compiler
> > Anybody have an idea what the problem is?
>
I solved the problem by downloading a JVC compatible version of JVM.

When you download SDK 3.1, the JVM is to be downloaded separately - it says so
in very small print at the website.

You can check out the JVC JVM requirements in the release notes.

If you write jview on the command prompt, the program reports the current JVM
build on screen.


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum

0 new messages