This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have had experience running java almost on any platforms(win32, win ia64, aix, linux, solaris sparc or x86, irix, hpux) and they are all the same (except ; vs : on path separation). Is java installed and is in your path? If yes, just do a java -jar runme.jar. If it is not installed, just install it , it's just an executable that will extract itself which you can download from sun's site. If I didn't answer your question, can you be more specific on your question? [ March 19, 2006: Message edited by: Ed Tse ]
Originally posted by Bob Nedwor: I have no idea where my JAVA_HOME environment variable is being set. It is not in my .envfile and not in my .profile.
Maybe in /etc/profile ?
SCJD<br />SCJP 1.4
Joined: Sep 18, 2003
I don't think JAVA_HOME needed to be set in your profile. A default setup usually have /usr/bin pathed and a softlink is created as /usr/bin/java. If you want to install a new java 1.5.0, just go download it and put it in some where and recreate a softlink that points to your new java directory.
Fun factor of Solaris x86 is not much for me, as I don't find a solaris useful personally. If you want to get a feel for the *nix, I would recommend a linux which I use regularly (not for this assignment) Given that, I do have a vmware image for solaris x86 for testing purpose for this assignment. [ March 20, 2006: Message edited by: Ed Tse ]
Java under Solaris and Java under Linux are almost the same. The main difference is that (In My Humble Opinion), the conventional place where the JDKs get installed is a little saner in Linux than in Sun's own OS.
JAVA_HOME is not even used by Java itself - it's just a convention that many Java apps have taken as a locator for the JDK to be used. Tomcat and WebLogic are two such apps.
CLASSPATH of course, is always popular. But in a lot of my stuff it's empty, since I get my class path from other sources.
Customer surveys are for companies who didn't pay proper attention to begin with.