The SDK was installed at: /usr/java/jdk1.5.0_06 The Path is: /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/zak/bin
The Path to the javac is:/usr/bin/javac I think I see the problem here, but let me know what you think. Thanks, Zak > I'm sure it won't be that hard to fix. Can you try to get/supply the > information below? > > 1 - The location where you installed the Sun Java SDK > 2 - The contents of your path variable (eg. type "echo $PATH" at the > command line) > 3 - The path to the javac you execute by default (type "which javac" at > the command line) > > If you could get this, I think it'd be a pretty simple thing to get fixed. > > Lloyd Brown > > Zak wrote: > > I am trying to start developing my cs235 projects in linux but I am > > having problems getting my stuff to compile. The problem comes when I am > > compiling a file that uses Scanner. I understand that this class is new > > to Java 5 so I went to sun and got the most recent version and followed > > the install instructions and it all seemed to work fine. But I am still > > having the same problem. When I run javac -v I get this: > > > > [EMAIL PROTECTED] ~]$ javac -v > > Eclipse Java Compiler 0.548, pre-3.1.0 milestone-6, Copyright IBM Corp > > 2000, 2005. All rights reserved. > > > > So I removed eclipse (I think) but I still get this same version come > > up. I think the path is messed up or something, can anyone guide me > > here? > > > > Thanks, > > Zak > > > > > > > > -------------------- > > BYU Unix Users Group > > http://uug.byu.edu/ > > > > The opinions expressed in this message are the responsibility of their > > author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. > > ___________________________________________________________________ > > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/newbies > > > > > > > -------------------- > BYU Unix Users Group > http://uug.byu.edu/ > > The opinions expressed in this message are the responsibility of their > author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/newbies -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/newbies
