LinuxQuestions.org
Review your favorite Linux distribution.
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 03-20-2015, 01:12 PM   #1
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Rep: Reputation: Disabled
Java Not Detected...


I am using Slackware 14.1 (32-bit) on an old PC (15 years!!) that has a Pentium III 1100 MHz CPU and 1.5 GB of RAM.

I just installed the latest 32-bit JAVA JDK (v. 8u40-i586) offered by SlackBuilds.com, but when I go to https://www.java.com/verify with Firefox 31.5.0 it tells me that no Java is detected. (Yes, I did re-start my PC after installing Java!)

The Plugins Manager in Firefox also does not show that Java is installed.

Could it be that my PC is too old for v. 8u40 and that I need to install an older version?

Any other suggestions?

Last edited by tb75252; 03-20-2015 at 01:14 PM.
 
Old 03-20-2015, 01:22 PM   #2
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
i586 should be fine on P III. The website you are looking at tests the java browser plugin, which is not the same thing as the installed jdk. Put aboutlugins in the browser address bar to check. I don't have a 32-bit system handy, but this may help:

http://www.oracle.com/technetwork/ja...ux-136395.html
 
Old 03-20-2015, 01:28 PM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
In the above post there is type error. It should be correct to say put

Code:
about:plugins
in address bar of Firefox Browser and see what plugins are installed.

Last edited by veerain; 03-20-2015 at 01:31 PM.
 
Old 03-20-2015, 01:32 PM   #4
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by tb75252 View Post
I am using Slackware 14.1 (32-bit) on an old PC (15 years!!) that has a Pentium III 1100 MHz CPU and 1.5 GB of RAM.

I just installed the latest 32-bit JAVA JDK (v. 8u40-i586) offered by SlackBuilds.com, but when I go to https://www.java.com/verify with Firefox 31.5.0 it tells me that no Java is detected. (Yes, I did re-start my PC after installing Java!)

The Plugins Manager in Firefox also does not show that Java is installed.

Could it be that my PC is too old for v. 8u40 and that I need to install an older version?

Any other suggestions?
As stated on slackbuild.org jdk's page , the java plugin is not activated by default. To activate it, you have to run the slackbuild as below :
Code:
$ EXPLOIT_ME=YES ./jdk.SlackBuild
--
SeB
 
1 members found this post helpful.
Old 03-20-2015, 03:31 PM   #5
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by phenixia2003 View Post
Hello,



As stated on slackbuild.org jdk's page , the java plugin is not activated by default. To activate it, you have to run the slackbuild as below :
Code:
$ EXPLOIT_ME=YES ./jdk.SlackBuild
--
SeB
Thank you. Your suggestion works!
But where exactly do you see how to run the slackbuild for JDK? I've looked and looked on the SlackBuilds' page for JDK but I cannot find it...
 
Old 03-22-2015, 08:12 PM   #6
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by tb75252 View Post
Thank you. Your suggestion works!
But where exactly do you see how to run the slackbuild for JDK? I've looked and looked on the SlackBuilds' page for JDK but I cannot find it...
The command to run the SlackBuild is exactly as it's shown in your quoting of the previous poster, but without the EXPLOIT_ME variable, if you so desire.

In other words, if you want to run the SlackBuild, cd into the directory containing the SlackBuild and issue the following command:

Code:
./jdk.SlackBuild
The './' in front of the command tells the shell that the command to be run is in the current directory, and to skip the root/user $PATH.

Hope this helps.

Happy Slacking!
 
Old 03-22-2015, 08:34 PM   #7
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mattallmill View Post
The command to run the SlackBuild is exactly as it's shown in your quoting of the previous poster, but without the EXPLOIT_ME variable, if you so desire.

In other words, if you want to run the SlackBuild, cd into the directory containing the SlackBuild and issue the following command:

Code:
./jdk.SlackBuild
The './' in front of the command tells the shell that the command to be run is in the current directory, and to skip the root/user $PATH.

Hope this helps.

Happy Slacking!
Yes, I had initially done that but then Firefox would not detect that JDK was installed. Only after appending
Code:
EXPLOIT_ME=YES
to the
Code:
./jdk.SlackBuild
command did JDK show up in the Plugins section of Firefox.

I just wanted phenixia2003 to show me where it says that
Code:
EXPLOIT_ME=YES
must be appended to the command.
 
Old 03-22-2015, 08:56 PM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
You have to read the slackbuild script itself.

You may and can argue that the README should mention it also; I think that the README should mention it, myself.
 
Old 03-22-2015, 09:41 PM   #9
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
You have to read the slackbuild script itself.

You may and can argue that the README should mention it also; I think that the README should mention it, myself.
I agree! I have contacted the author of the SlackBuild, David Somero.
 
Old 03-23-2015, 07:31 AM   #10
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by tb75252 View Post
Yes, I had initially done that but then Firefox would not detect that JDK was installed. Only after appending
Code:
EXPLOIT_ME=YES
to the
Code:
./jdk.SlackBuild
command did JDK show up in the Plugins section of Firefox.

I just wanted phenixia2003 to show me where it says that
Code:
EXPLOIT_ME=YES
must be appended to the command.
My apologies. I had thought that you didn't know how to run the SlackBuild itself, not that you wanted to have it build the jdk plugin as well.
 
Old 03-23-2015, 10:51 AM   #11
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
The Java plugin is called "libnpjp2.so" with JDK installed you can find it here: /usr/lib64/java/jre/lib/amd64/libnpjp2.so. It's linked to /usr/lib64/mozilla/plugins. Of course on a 32-bit system it's /usr/lib/.
 
Old 03-23-2015, 12:50 PM   #12
tb75252
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JackHair View Post
The Java plugin is called "libnpjp2.so" with JDK installed you can find it here: /usr/lib64/java/jre/lib/amd64/libnpjp2.so. It's linked to /usr/lib64/mozilla/plugins. Of course on a 32-bit system it's /usr/lib/.
I was able to link JDK and Firefox by issuing the command CODE]EXPLOIT_ME=YES ./jdk.SlackBuild[/CODE] as suggested by penixia2003. So everything is good.
 
  


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
A fatal error has been detected by the Java Runtime Environment RenéPaul Linux - Software 2 10-25-2013 05:04 PM
[SOLVED] CD-ROM not detected, then hard disk not detected helpless-new-fulla Linux - Newbie 4 06-28-2010 01:39 AM
clamav detected Java.Downloader.OpenStream.A - what now? 686plus Linux - Security 5 05-02-2006 12:32 AM
Ethernet Card detected in one kernel is not detected in the other?? ashishuttarwar Linux - Hardware 14 06-15-2004 10:06 PM
Java VM not detected apollonius Linux - General 0 10-01-2001 10:27 AM

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

All times are GMT -5. The time now is 04:53 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