![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Setting link to newly installed Java version | harjitsingh | SUN Solaris | 4 | 05-28-2008 08:25 AM |
| echo Java version | neeto | UNIX for Dummies Questions & Answers | 1 | 04-22-2008 02:01 PM |
| Linux Download | nov_user | UNIX for Dummies Questions & Answers | 3 | 03-25-2008 06:25 PM |
| LINUX Download | ednan171 | What's on Your Mind? | 9 | 10-23-2006 11:11 PM |
| Kinda OT: USENET Linux Groups | zazzybob | Linux | 2 | 05-09-2004 05:48 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
How do i download java 1.3 on linux(kinda have this old version)
i wish to run java files on inux but while downloading it into linux there is no problem but when i r try to execute a java file it says javac not found. help pleas
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Which distribution are you running?
Did you install the file before trying to execute it? Downloading is just that, you copy it from one machine to another, you need to install it to make it available for using. |
|
#3
|
|||
|
|||
|
re:
i have installed java on my machine but when i check the version it givex=s a lot of error messages
|
|
#4
|
|||
|
|||
|
Please give us more details as to the exact error messages you are getting, the command you used to invoke java/javac.
Also, what you are trying to do actually? Executing a compiled java program does not need javac. java is sufficient. javac is for compiling bytecode. So, what is your command used to execute your java file? |
|
#5
|
|||
|
|||
|
Here is a list of error messages
On executeing this:-
/usr/java/jdk1.3.1_03/bin/java -version /usr/java/jdk1.3.1_03/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory Java file public class a{ public static void main(String[] args){ System.out.println("Hello World"); } } javac a.java bash: javac: command not found |
|
#6
|
|||
|
|||
|
Try
/usr/java/jdk1.3.1_03/bin/javac a.java for compiling. I am not sure about the shared library problem you are having. I have installed JDK1.4.x on many Linux systems without problems. Maybe you can try JDK 1.4 as well. As the directory structure the error message displays differs from the Sun Microsystems one (I can't find any bin/i386 dir in my installation), probably your version is not an official one. Try downloading from java.sun.com for official builds. |
|||
| Google The UNIX and Linux Forums |