HomePage > Software Index > Desktop

Java Runtime Environment

Java Runtime Environment runs programs written in Java. Not to be confused with JavaScript.

Install the appropriate package, newer versions should be more secure:
Where to find Java packages, .pet or .sfs

Alternatively, use script to make package:

buildscript make executable, run in terminal, sfs will go into /tmp, more info

Packages may also be available in the official repository for your Puppy either through the Puppy Package Manager or the SlickPet/QuickPet app.

Version Check and Enabling
Verify the installed version via the command-line interface:
java -version

Alternatively visit one of the following pages:
testjava (java.com)
version (javatester.org) - finds even if disabled in browser

Symlink for Mozilla (Firefox and Seamonkey)
A symlink may need adding to the plugin directory, for example:
Newer versions:
Create directory ~/.mozilla/plugins if it does not already exist
ln -s /usr/java/java/lib/i386/libnpjp2.so ~/.mozilla/plugins/libnpjp2.so

Older versions:
ln -s /usr/java/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins/libjavaplugin_oji.so

Web browser configuration confirmation (older versions only, JavaScript needs to be enabled within the Web browser):
Enable Java: Tools > Options > LibreOffice > Java
Enable Java: Edit > Preferences > Advanced > Enable Java
Enable Java: Tools > Options > Content > Enable Java
Enable Java: Tools > Quick Preferences > Enable Plug-ins
Enable JavaScript: Tools > Quick Preferences > Enable JavaScript

Applications may need to be configured and re-started after installation.

Java Development Kit (JDK)
An alternative to installing the runtime environment is to use the full development kit.
Use an appropriate package, newer versions should be more secure:

Also on the Wiki
Java - page about the programming language
jar - package of multiple Java source files
File Types

Comments [Hide comments]
Comment by darkcity
2013-03-29 04:04:27
Should we merge Java and JavaRuntimeEnvironment pages? They cover similar ground and are both short.
Comment by node-q3n.pool-125-27.dynamic.totbb.net
2014-01-25 07:07:09
from http://puppylinux.info/topic/ssetting-up-a-java-programming-environment-in-slacko54
Comment by node-q3n.pool-125-27.dynamic.totbb.net
2014-01-25 07:10:56
Comment by darkcity
2014-01-26 06:03:05
thanks for the link, I've updated the page ; -)
Comment by node-s0u.pool-125-27.dynamic.totbb.net
2014-07-19 07:41:28
more info at http://puppylinux.info/topic/jre8

more info http://puppylinux.info/topic/ssetting-up-a-java-programming-environment-in-slacko54/page/2

buildscript http://puppylinuxstuff.meownplanet.net/aarf/java_jre/buildjava-0.02.sh make executable, run in terminal, sfs will go into /tmp
more info in links above
Comment by node-s7f.pool-125-27.dynamic.totbb.net
2014-08-21 16:35:47
newer sfs at http://puppylinux.info/topic/jre8 1.8u20 and 1.7u67
Comment by darkcity
2014-09-02 15:25:29
added thanks ; -)
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki