This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Hi Priya, You need to set the PATH and CLASSPATH environment variables. How you set them depends on what (login) shell you are using. If you are using Bourne (sh), Korn (ksh) or BASH (bash), then you can type the following command:
and replace "<path to java>" with the full path of the directory where the "java" executable is located. Use similar syntax for setting CLASSPATH. For example, on my SUN [sparc] with Solaris 7, <path to java> is:
Of-course, I don't know how much experience you have with Solaris, so I don't know if the above is sufficient for you (or not). Hope this helps. Good Luck, Avi.