Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I installed JDK1.5_15 on my Ubuntu 7.04.When Iam executing "java -version"
the old gcj version 1.4.2 is reported .I added the path in .bashrc
When I executed the "which java" command its searching in /usr/bin/java.
Iam new to java and Linux.Can any one tell me where I went wrong.
Right I recommend removing that POS (Piece of Sh*t) called GCJ? I only keep it around for some basic Java-to-native-binary compiling, but for the most part, GCJ just confuses Java programmers to no end due to the fact that if you've never programmed and compiled C or C++ programs in Linux (or UNIX), half of the necessary flags you need to pass to the compiler make no sense.
Simply, uninstall GCJ and cross your fingers in hoping it's not tied into the GCC package (which, I don't believe it is).
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
It is easier to do the install with 'sudo apt-get install sun-java5-jre'
(or use synaptic)
Then all links to 'gcj-4.2' will change. So when typing 'java -version'
in a terminal, the answer should be:
"java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)"
Edit: Sorry, indienick, I didn't see your answer while typing the above lines.
P.S.: Synaptic : Removing 'gcj-4.2' will install 'sun-java6-jre'
Last edited by knudfl; 05-26-2008 at 12:00 PM.