A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Installing java on solaris
Joined: Mar 23, 2006
Nov 28, 2006 01:27:00
I need to install Java 1.5 on a Sun-Solaris machine. However I havent worked on Solaris before. Nevertheless, I followed a few steps given on the website.
I have downloaded and installed the JAVA version.
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Server VM (build 1.5.0_09-b03, mixed mode)
$ls -l libjava.so
-rwxrw-r-- 1 hub05dA hub05d 154884 Oct 12 11:32 libjava.so
But when trying to run javac
$javac -verbose test.java
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
Can you please guide me as to what I need to do so that javac works properly ?
Joined: Feb 07, 2005
Nov 28, 2006 08:54:00
What is your PATH? It's possible that the default JDK that is installed with Solaris is before the directory containing the JDK you are using.
I agree. Here's the link:
subject: Installing java on solaris
Problem setting path to jdk1.5.0_10
PLS help -urgent Prob with headfirst Advice
basic problem compiling/running code
Doesn't java.util.regex come with J2EE 1.4 SDK?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014