Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-21-2003, 03:18 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Edmonton, Alberta, Canada
Distribution: Slackware 9.1
Posts: 23

Rep: Reputation: 15
Instakking Java sdk on Mandrake 9.1

Hi all! I downloaded j2sdk v 1.4.2 from the Sun site, and tried to install it by:

chmod a+x j2sdk-1_4_2_02-linux-i586-rpm.bin
type "yes" to the liscence agreement
rpm -ivh j2sdk-1_4_2_02-linux-i586.rpm

It seemed to work fine and nothing printed any error messages. But when I tried to use javac (javac it says "bash: javac: command not found". My problem is that I have no idea how to check whether java installed properly, or how to find out where it installed to. Can anyone help please?
Old 11-21-2003, 04:35 PM   #2
Registered: Nov 2003
Distribution: I use gentoo, redhat, and lorma for kicks.
Posts: 44

Rep: Reputation: 15
slocate javac might work...'s possible it might be in /sbin/javac, /usr/local/bin/, /usr/java not really sure though... there might be some information on the site as to where it installs to. otherwise a locate or slocate might find it for you (can't remember which one it is).

Last edited by bencl5; 11-21-2003 at 04:37 PM.
Old 11-21-2003, 10:38 PM   #3
LQ Newbie
Registered: Nov 2003
Location: Edmonton, Alberta, Canada
Distribution: Slackware 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks bencl5! It was in /usr/java


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java SDK help! nr5 Linux - Software 5 06-10-2005 09:33 AM
Why There is no Java 2 SDK ? JOKe Debian 5 03-08-2005 03:37 PM
Java SDK Peleus Linux - Newbie 2 04-06-2004 09:31 AM
Java SDK adflynn Programming 2 02-03-2004 08:15 PM
java sdk lsansan Linux - Software 1 05-11-2003 01:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration