SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just upgraded to Slackware 14.0 and find that my Chrome browser cannot open an important site because it says there is no java plugin. It doesn't work with Firefox either.
I tried to install the browser Opera, but I can't get the source from SlackBuild
I had tried to install mozplugger from Slackbuild, but I think there is something wrong with the source. It looks like it has been truncated.
I'm not that concerned about Opera and Slackbuild (though I think I would like to get them working), but would like to have the plugin. I've installed the jdk package from Slackbuild, and I thought the plugin came with it. I checked and Slackbuild says to the plugin is not installed by default. If I reinstall jdk, how do I install the plugin with the jdk package.
The java plugins is just not enabled by default on the most recent version of the jdk.SlackBuild hosted on SBo. If you look in the actual jdk.SlackBuild, then you will see an option not mentioned in the README that allows the plugin to be installed. You can run the jdk.Slackbuild with the following optional parameter to get the plugin to work.
Try this, it worked for me:
I think I'll try to fiddle with EXPLOIT_ME variable. But, Neyac, does'nt a # mean what follows is a comment. Also, while it's a long time since I fooled with a makefile, I don't understand the
The command "EXPLOIT_ME=YES ./jdk.SlackBuild" is a single-line command to be executed as root. What it does is set the environment variable "EXPLOIT_ME" to "YES" just for the duration of this commandline, and then start the jdk.SlackBuild which will inherit this value for EXPLOIT_ME in its own environment.
This way you do not have to edit the jdk.SlackBuild to change the value for EXPLOIT_ME.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Optionally, the /extra directory on your distribution media (CD-ROM, DVD) contains a java directory with java.SlackBuiild.
You will need to download Java SE from http://www.oracle.com/technetwork/ja...ads/index.html. I would suggest that you download the JDK package (JDK includes both the Java development software and the JRE run-time environment, used by many web sites). If you get JDK you get the Java compiler and tools in case you ever need them. The java.SlackBuild is the "standard" Slackware SlackBuild which used traditionally to build JDK and JRE Slackware packages -- the JDK packages installs both JDK and JRE.
The reason for all this is that Oracle, now the owner of Sun Microsystems (developer of Java in the first place), will not license redistribution of Java; essentially, Slackware cannot distribute Java anymore but can provide you the tools to install Java on your own (and neither can anybody else just give you Java already installed).
Now, about the Java plug-in.
There have been significant security problems with Java over the past months and it is recommended that the Java plug-in be disabled in browsers (all browsers) unless you must enable it for a particular -- trusted! -- site. As it happens, that's easy to do with Firefox and Seamonkey: click Tools, click Add-ons, click Plugins, then click the Disable button next to the Java Plug-in (or, to enable, click that -- the button changes color depending upon the state).
This is not paranoia -- you really, honestly do not want that Java plug-in enabled except for a specific trusted site that you must have it enabled for (then shut it back off when you're done). The Java plug-in has nothing whatsoever to do with JavaScript or anything but it has been shown to be a security hole and it's better to just shut it off unless you need it (and you usually don't need it for much of anything).
@klee12: "#" in a command line code means "command as root" (and "$" commands as user), inside a script file "#" means that comments follow. (you don't need type the #, it's only to say that you must run the script as root). The "./" means run the file (script in this case)on present folder (directory), and "EXPLOIT_ME=YES" before the command to run the jdk.slackbuid script, means that the variable "EXPLOIT_ME" will be changed from "NO" to "YES", allowing the java plugin to be build.
Unfortunately something came up and I have to leave tomorrow so I can't get to fixing 14.0 the way I want it I'll be back on Monday or Tuesday, and I'll work on it then. I'm pretty sure I'll be able to get it.
I had to drop everything because I had to do other things. I'm back and trying to get Slack 14.0 running the way I want it to. I'm having problems with the jdk and opera.
I placed the line in neymac's response in the Build script at the top and built the jdk package again. I know it worked because a Warning message came up and when finished, I used removepkg to remove the old version and then install the new version. I tried to access the java plug first from Chrome, then with Firefox. Nothing happened. I rebooted. Still nothing happened. I looked in Firefox Tools, addons, and plugins. The java plugin was not listed. What did I do wrong?
Next I tried to install opera hoping to get better luck. I downloaded opera-12.15-i686-1ro.txz from Ruario's page and use the slackbuild script from the Slackbuild site on the net. The Slackbuild script complained about not having rpm files around and also was for version 11.01. I think Ruario's page had the rpm files, but I decided I shouldn't tempt fate.
#tronayne's method is better suite for you. And you don't need to do any special things. I don't think install new browser will solve your problem as plugin itself it not installed properly. Download the latest jre from here and run the java.SlackBuild against it, you will have an slackware package to install.
The file you download "opera-12.15-i686-1ro.txz" has already in Slackware package format, you could just installpkg/upgradepkg it. The slackbuild script is for building the slackware package from an rpm file.
Hello everyone. I got the java plugin working but after a lot of trouble.
1. One problem was that there is a slackbuild in the in the distribution in /extra/java. I'm pretty sure that's not the same as the slackbuild on the on the net. Some of the problems might be because I was not using the right slackbuild on the right source. I tried the jdk and jre so there and there were chances for errors.
I carefully used the slackbuild from with the jdk with EXPLOIT_ME=YES. It still didn't work. I looked at the script and noticed the critical difference between EXPLOIT_ME=YES or EXPLOIT_ME= NO was a line making a link into the mozilla/plugins directory. From the build script I figured the line
executed as root would do the trick and it did. I don't know why the Slackbuild didn't do that. Anyway Java works on my the Firefox and Chrome browsers.
I'm concerned about security. I'll make Firefox my primary browser and keep Java disabled. When I need it, I'll enable Java temporarily. I don't go the the sensitive site often and Java used to be resource hog. I don't see how I can disable java in Chrome but Chrome comes up with a strange message when I try to access that uses the java plug-in on my computer. I don't recall it giving that same message on other computers. I'm
I got Opera to work, but only as root. I looked at /usr/bin/opera but couldn't find anything wrong. I'm going to remove opera since 2 browsers are enough.
The source for mozplugger but it seems the source file is corrupt. It's not a biggie with me but everyone seems to rave about it so I thought it might be useful to have
I want to thank all of you who tried to help. You efforts are appreciated. It's amazing that the support here is better than support for the PC software that I've run across.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.