Where should I get class files for jikes?
If I do jikes myclass.java
I get Found 2 system errors:
*** Error: Could not find package “java/util” in:
.
*** Error: Could not find package “java/lang” in:
.
I can get beyond this by specifying -bootclasspath classes.zip
(arbitrarily chosen from /usr/eclipse/ive). But this fails to find the
imported classes:
import netscape.javascript.JSObject;
import java.applet.Applet;
import java.applet.AppletContext;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.URL;
Can someone help a Java novice please? This is someone else’s class. It is
currently built on Windows and the .class file is
saved in SourceSafe. This doesn’t seem right to me, so I want to compile it
along with all my other application code (mostly C)
during a system build.
Thanks
William Morris
I can get beyond this by specifying -bootclasspath classes.zip
(arbitrarily chosen from /usr/eclipse/ive). But this fails to find the
imported classes:
import netscape.javascript.JSObject;
import java.applet.Applet;
import java.applet.AppletContext;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.URL;
Which classes.zip are you using? You should be using the one from jclMax.
However, the first three imports are going to fail because the Max profile
doesn’t support AWT and I am not sure where the netscape object would be
imported from (Mozilla maybe?).
chris
–
Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/
Oh. I thought I was doing a stupid experiment there. Amusing to find it was
almost the correct thing to do >
As you say, jclMax gets further, but fails to find the Netscape and Applet
imports.
I can’t find these objects. Any ideas?
You should be able to get the AWT imports resolved by downloading the QNX
runtimes from IBM’s WSDD* toolset (or our download of IBM’s toolset if you are a
commerical customer). We don’t include it in the j9 used for running Eclipse.
I doubt it will include the netscape classes though.
chris
- Websphere Device Developer
–
Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/
On 1 Jul 2003 14:26:54 GMT, Chris McKillop <cdm@qnx.com> wrote:
Which classes.zip are you using? You should be using the one from
jclMax.
Oh. I thought I was doing a stupid experiment there. Amusing to find it was
almost the correct thing to do
As you say, jclMax gets further, but fails to find the Netscape and Applet
imports.
I can’t find these objects. Any ideas?
Thanks
William
Chris McKillop wrote:
You should be able to get the AWT imports resolved by downloading the
QNX runtimes from IBM’s WSDD* toolset (or our download of IBM’s
toolset if you are a commerical customer). We don’t include it in
the j9 used for running Eclipse. I doubt it will include the netscape
classes though.
If you have a typical WSDD installation, there is a Java compiler included
called j9c. It’s pretty durned fast, and supports nice stuff like ‘compile
everything in this directory tree’.
–
Patrick Mueller
pmuellr@yahoo.com