[csu540-f05-rpf] Error compiling java files
chungwc at ccs.neu.edu
chungwc at ccs.neu.edu
Mon Sep 12 21:05:58 EDT 2005
Thank you Prof. Futrelle.
That did the trick.
The java files compile fine now.
Thanks,
Wing
On September 12, 6:45 pm Robert Futrelle <futrelle at ccs.neu.edu> wrote:
> You should be able to simply do
>
> unset $CLASSPATH
>
> (depending on your shell)
>
> since you don't need any of those oracle paths now.
> But be sure to make a note of your current ones in case you need
> them in the future.
>
> Look at pages such as
>
> http://farside.ph.utexas.edu/teaching/329/lectures/node29.html
>
> for a guide to setting your various system variables.
>
> Some people in the class may have better suggestions.
> Suggest away!
>
> Note that the default Java on Solaris is now 1.5.
> Should still compile everything fine.
>
> Some people don't use CLASSPATH, since it may change
> from one project to another. They specify it on the
> command line. (Can use various aliases - I've done
> that sometimes.)
>
> - RPF
>
>
> > Hi Prof. Futrelle,
> > Oracle has nothing to do with Computer Graphics, which
> > is why I'm very puzzled as well. The last class I took which does
> > java programming in the
> > Unix environment was CSU430 Database Design. I supposed there is
> > something that we did in that class that changed the classpath for
> > java. However, I don't remember what that was and how to undo that.
> >
> > The files I was trying to compile were ColorShadeDriver.java and
> > Shader.java. I also tried compiling some of my old java code from
> > the Database class I took earlier as well. All of them gave me the
> > same error.
> > What should I do to fix this error?
> >
> > Thanks,
> > Wing
> >
> > On Mon, 12 Sep 2005, Robert Futrelle wrote:
> >
> >> What does Oracle have to do with CSU540, Computer Graphics?
> >> Was this for some DB class, by chance?
> >>
> >> What files were you trying to compile?
> >>
> >> - Prof. Futrelle
> >>
> >>
> >> > Hi,
> >> >
> >> > I am trying to complete programming assignment 1 and while I
> >> > was compiling the java files (on a Unix machine in the CCS
> >> > lab), I received the following error:
> >> >
> >> > error: error reading /net/oracle/ora9/CCISCLASS/sqlj/lib/sqljutl
> >> > .sql;
> >> > java.util.zip.ZipException: error in opening zip file
> >> >
> >> > And the following is my CLASSPATH variable:
> >> > .:/net/oracle/ora9/CCISCLASS/sqlj/lib/runtime12.jar:/net/oracle/
> >> > ora9/CCISCLASS/sqlj/lib/sqljutl.sql:/net/oracle/ora9/CCISCLASS/sqlj/lib/
> >> > translator.zip:/net/oracle/ora9/CCISCLASS/jdbc/lib/nls_charset12.zip:/ne
> >> > t/oracle/ora9/CCISCLASS/jdbc/lib/ojdbc14.jar
> >> >
> >> > Is my configurations incorrect?
> >> >
> >> > Is anyone else having the same error? Or does anyone know how
> >> > to fix this?
> >> > Thanks,
> >> > Wing
> >> >
> >> > _______________________________________________
> >> > csu540-f05-rpf mailing list
> >> > csu540-f05-rpf at lists.ccs.neu.edu
> >> > https://lists.ccs.neu.edu/bin/listinfo/csu540-f05-rpf
> >>
> >>
> >> _______________________________________________
> >> csu540-f05-rpf mailing list
> >> csu540-f05-rpf at lists.ccs.neu.edu
> >> https://lists.ccs.neu.edu/bin/listinfo/csu540-f05-rpf
> >>
> >
> > _______________________________________________
> > csu540-f05-rpf mailing list
> > csu540-f05-rpf at lists.ccs.neu.edu
> > https://lists.ccs.neu.edu/bin/listinfo/csu540-f05-rpf
>
>
> _______________________________________________
> csu540-f05-rpf mailing list
> csu540-f05-rpf at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/csu540-f05-rpf
>
More information about the csu540-f05-rpf
mailing list