LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-06-2004, 01:53 AM   #1
atogbe
LQ Newbie
 
Registered: Aug 2004
Location: Belgium
Distribution: Slackware 10
Posts: 7

Rep: Reputation: 0
Slackware 10, Where is Java?


I did a full install of Slackware 10, and java is supposed to come with it, no? If I type java at the command line, it can't be found.

What am I doing wrong? Should I still install it manually although I did the full install?

Thanks for you're help!
 
Old 08-06-2004, 02:07 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
cat /usr/lib/java/README
man java
/usr/lib/java/bin/java

It seems that /usr/lib/java/bin is not in your PATH
 
Old 08-06-2004, 03:21 AM   #3
atogbe
LQ Newbie
 
Registered: Aug 2004
Location: Belgium
Distribution: Slackware 10
Posts: 7

Original Poster
Rep: Reputation: 0
ok, so Java is supposed to be in /usr/lib/

Anyways, what's the point of installing it if it's not in your path? Who wouldn't want it in his path?

I know about the man pages, but as a total newbie I still need to learn a lot of basic commands. I just found out that you can use 'locate java' or something like that. Go figure

Thanks.
 
Old 08-06-2004, 05:04 AM   #4
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
/usr/lib/java/bin is already in your PATH by default.
 
Old 08-06-2004, 06:28 AM   #5
atogbe
LQ Newbie
 
Registered: Aug 2004
Location: Belgium
Distribution: Slackware 10
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by melinda_sayang
/usr/lib/java/bin is already in your PATH by default.
If that is true, then how come the "java" or "javac" command cannot be found?
 
Old 08-06-2004, 06:35 AM   #6
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
Did you use normal user? java is in normal user PATH already. Root is not.
 
Old 08-06-2004, 07:12 AM   #7
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
well if you know where it is, and $PATH does not include it ... then edit /etc/profile ... you wanna look at about line 18. (on Slackware 10)
 
Old 08-06-2004, 08:13 AM   #8
atogbe
LQ Newbie
 
Registered: Aug 2004
Location: Belgium
Distribution: Slackware 10
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by melinda_sayang
Did you use normal user? java is in normal user PATH already. Root is not.
ok, that might be it! I was logged in as root for the installation of eclipse. I will try again tonight as normal user.


Thanks.
 
  


Reply



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
Slackware 10.2 - java problems fdahl_009 Slackware 2 10-08-2005 05:59 AM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 06:30 AM
install java in Slackware The Chain Linux - General 5 11-13-2004 10:50 PM
Java and Slackware-current AstainHellbring Slackware 4 10-23-2004 10:08 AM
Java and Linux Slackware Juan Araya Linux - Newbie 1 04-30-2003 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:41 AM.

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