This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: FAQ -- building snapshots?


Anthony Green wrote:

> Actually - I do have one question about step 9.  You should never have
> to do this.  Does this happen often?

For me always, both on Solaris and Linux. Is it due to the fact that
I don't install into /usr/local?

> You also shouldn't have to set CLASSPATH.  gcj will know where to look.

$ gcj -c -o Worker.o Worker.java

gcj: libgcj.spec: Datei oder Verzeichnis nicht gefunden

[which means file or directory not found]

$ gcj --main=WebServer -L/home/joerg/libgcj/lib -o WebServer Worker.o Log.o WebServer.java

WebServer.java:0: Can't find default package `java.lang'. Check the CLASSPATH environment variable and the access to the archives.

Jörg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]