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 12-17-2012, 02:38 PM   #1
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
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: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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: 331

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

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
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: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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: 331

Original Poster
Rep: Reputation: 50
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



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
[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

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

All times are GMT -5. The time now is 07:08 PM.

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