LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 12-17-2012, 02:38 PM   #1
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 323

Rep: Reputation: 49
Java


Hi

I followed this guide

http://docs.slackware.com/howtos:software:java

to install Java and all goes well until I run

Code:
$ which java
when I get

Code:
which: no java in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin:.)
Should I be adding a directory to $PATH as well? Puzzled as to what's going wrong as the isntallation of the .txz file seemed to work.

Thanks in advance for any help.

Last edited by Bazzaah; 12-17-2012 at 02:50 PM.
 
Old 12-17-2012, 02:43 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,880
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
Did you log out and in again to update the environment variables?
 
Old 12-17-2012, 02:46 PM   #3
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 323

Original Poster
Rep: Reputation: 49
yes I did.
 
Old 12-17-2012, 02:57 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,160

Rep: Reputation: 258Reputation: 258Reputation: 258
I think given Oracle's lack of interest in giving away things for free, and their slowness in releasing security fixes, you should really be looking at one of the alternative javas. On Fedora I'm running OpenJDK which, thanks to RedHat, is a pretty complete runtime.
 
Old 12-17-2012, 03:58 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,112

Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
I think given Oracle's lack of interest in giving away things for free, and their slowness in releasing security fixes, you should really be looking at one of the alternative javas. On Fedora I'm running OpenJDK which, thanks to RedHat, is a pretty complete runtime.
If you want OpenJDK on Slackware, then that is easily accomplished by downloading and installing either the JDK or the JRE from http://connie.slackware.com/~alien/slackbuilds/openjdk/

Eric
 
1 members found this post helpful.
Old 12-17-2012, 04:49 PM   #6
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 323

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Alien Bob View Post
If you want OpenJDK on Slackware, then that is easily accomplished by downloading and installing either the JDK or the JRE from http://connie.slackware.com/~alien/slackbuilds/openjdk/

Eric
Thanks Eric.

I have Java now.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 10:04 AM
[SOLVED] weblogic note that java.lang.OutOfMemoryError: Java heap space dyceac Linux - Software 2 10-24-2010 06:50 AM
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
LXer: Java news met with cautious optimism in free Java community LXer Syndicated Linux News 0 11-14-2006 10:21 PM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration