A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Getting MEAN with Mongo, Express, Angular, and Node
this week in the
Installing java on solaris
Joined: Mar 23, 2006
Nov 28, 2006 01:27:00
I need to install
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 version "1.5.0_09"
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
PLS help -urgent Prob with headfirst Advice
Problem setting path to jdk1.5.0_10
Doesn't java.util.regex come with J2EE 1.4 SDK?
basic problem compiling/running code
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015