DIY - How to Install Java
@ imnotrich, where those mary john's instructions (several messages above here) to the letter or mine? I could try to help if you could list what you did and what the results were for each step--that is, just for instance, did you get a java folder named jre-1.6.0_16 after you ran the java install? Were you able to run the java install, etc. There is an alternative to use one of the java.sfs files prepared by community members. I have used them in the past and they worked well. However, the only one a quick search turns up is java 1.6 update 14 by Wolf Pup; maybe someone will post an update. http://www.murga-linux.com/puppy/viewto ... 59&t=27341
diy's java install
I don't recall who the original posters were, and because of how this forum is organized I doubt I'd be able to find them again easily.
One was a step by step procedure to download from Sun, folders to put it in, symlink creation and all.
Another was a script to run called install java.
After each procedure I went to various java test pages and they tell me it's not enabled in my browser, but seamonkey claims it is enabled.
I'm not adept enough to write these programs and scripts myself, I suppose given enough time I could learn but for those of us who need our computers to just work, tinkering should be kept to a minimum. Now that java is openly available I don't see why it's so difficult in so many distros, not just puppy but I'm getting a bit off topic.
One was a step by step procedure to download from Sun, folders to put it in, symlink creation and all.
Another was a script to run called install java.
After each procedure I went to various java test pages and they tell me it's not enabled in my browser, but seamonkey claims it is enabled.
I'm not adept enough to write these programs and scripts myself, I suppose given enough time I could learn but for those of us who need our computers to just work, tinkering should be kept to a minimum. Now that java is openly available I don't see why it's so difficult in so many distros, not just puppy but I'm getting a bit off topic.
imnotrich and mathew, these DIY articles are for people who *like* to tinker and thereby understand what is going on underneath the surface. i think the instructions are something that anyone can follow though--no doubt there could be a learning curve. i suggest the instructions in the first article (which is mine) but someone else has added a different set--they both have the same purpose. I would suggest reading the whole first page of this forum in order to try to maximize learning if you continue to DIY. There is a lot to be said for things just working, I agree, and the best guess I have for that is wolf pup's java (link above). As I recall there are also some puplets that have java installed--those could be found by browsing or searching the forum category "Puppy Derivatives."
Sun has published a new version of java. This 6u17 release contains fixes for one or more security vulnerabilities (http://java.sun.com/javase/6/webnotes/6u17.html).
So, I replaced excellent 6u16.pet by DIY-install of 6u17. Now seamonkey 1.1.18, firefox 3.5.5, Gooo 3.1.1 and Opera 10.01 are recognizing java-jre-6u17, but aTunes has gone. I did some dirty work with DIY-opera until it accepts DIY-java. Now it is time to wash my hands and wait for an excellent 6u17 pet. Aqualung included 4.31 is so nice music player that I can live for a while without aTunes.
So, I replaced excellent 6u16.pet by DIY-install of 6u17. Now seamonkey 1.1.18, firefox 3.5.5, Gooo 3.1.1 and Opera 10.01 are recognizing java-jre-6u17, but aTunes has gone. I did some dirty work with DIY-opera until it accepts DIY-java. Now it is time to wash my hands and wait for an excellent 6u17 pet. Aqualung included 4.31 is so nice music player that I can live for a while without aTunes.
java diy
Regards learning curve for those DIY guides, I'm fluent in English so that's not the issue. Following those well articulated steps verbatim did not solve my problem. There were no java pets or dot pups listed either.
Java, flash, misc. plug ins and a decent set of web fonts plus other basic functionality needs to be included in a distro or at least easily available.
Puppy has long neglected wifi encryption too. Works great with WEP, but my network is wpa2 and Puppy still does not support wpa2 tkip/aes out of the box.
If said distro is not intended for use on the web or a network then that's another story, in which case you might as well delete e-mail, browsers, modem and nic/wireless drivers.
Sorry this turned into a bit of a rant. I know Puppy represents an enormous amount of effort from many very talented people, but I wish the developers would focus on basic functionality and leave the obscure stuff for those who like to tinker.
Java, flash, misc. plug ins and a decent set of web fonts plus other basic functionality needs to be included in a distro or at least easily available.
Puppy has long neglected wifi encryption too. Works great with WEP, but my network is wpa2 and Puppy still does not support wpa2 tkip/aes out of the box.
If said distro is not intended for use on the web or a network then that's another story, in which case you might as well delete e-mail, browsers, modem and nic/wireless drivers.
Sorry this turned into a bit of a rant. I know Puppy represents an enormous amount of effort from many very talented people, but I wish the developers would focus on basic functionality and leave the obscure stuff for those who like to tinker.
Nikukyu has uploaded jre-6u17 pet and sfs (http://koinunoesa.blog46.fc2.com/blog-entry-99.html). They are certainly very cool but they come too late for me because I have used two weeks half-diyded jre-6u17. This is very OK with aTunes 1.13.5 , seamonkey old, firefox 3.5.5 and opera 10.01.
My steps (Puppy 4.31-k2.6.25.16):
1. Install 6u14.pet (http://puppylinux.asia/tpp/bugs/java-1.6u14.pet).
2. Delete java folder from /usr.
3. Download jre-6u17-linux-i586.bin file (http://javadl.sun.com/webapps/download/ ... leId=35675).
4. Unpack jre-6u17-linux-i586.bin file to /usr (run ./jre-6u17-linux-i586.bin).
5. Rename new jre1.6.0_17 folder to java.
6. Configure browser if needed (java support for firefox, flock, iceape, icecat, iceweasel, mozilla, opera, and seamonkey).
My steps (Puppy 4.31-k2.6.25.16):
1. Install 6u14.pet (http://puppylinux.asia/tpp/bugs/java-1.6u14.pet).
2. Delete java folder from /usr.
3. Download jre-6u17-linux-i586.bin file (http://javadl.sun.com/webapps/download/ ... leId=35675).
4. Unpack jre-6u17-linux-i586.bin file to /usr (run ./jre-6u17-linux-i586.bin).
5. Rename new jre1.6.0_17 folder to java.
6. Configure browser if needed (java support for firefox, flock, iceape, icecat, iceweasel, mozilla, opera, and seamonkey).
export java paths
I found this useful. Allows the system to find the java bits and pieces whilst allowing you to install java outside your pupsave in:
From thread post: http://www.murga-linux.com/puppy/viewto ... 748#123133
and make /usr/java (instead of /usr/jre) a symlink to where you have java installed.
Note that Puppy 4.3.1, for example, doesn't include the file /etc/profile.local by default. You therefore need to create a blank text file /etc/profile.local and include the above lines (and make the above suggested symlink to where you have your java installation).
Puppy will automatically read the file /etc/profile.local on reboot.
In addition, if you then create a shell script called application_x-jar in ~/Choices/MIME-types you should be able to simply click on .jar files to execute them from ROX. The file application_x-jar should contain the likes of:
[Note: I don't have java on my system at the moment, so I can't actually test the above code at the moment; I'm "guessing" the option -jar from memory.]
This uses the MIME-type mechanism to control the execution. See the following Howto on mime file type handling for an explanation of its operation:
http://www.murga-linux.com/puppy/viewto ... 990#363990
EDIT: An alternative to manually creating an application_x-jar script in ~/Choices/MIME-types is to right click on a jar file and set Run Action to:
[or: java -jar "$@" should be fine I think]
That action will automatically create a application_x-jar shell script in the folder ~/.config/rox.sourceforge.net/MIME-types
From thread post: http://www.murga-linux.com/puppy/viewto ... 748#123133
EDIT: Since, as playdayz says, Openoffice finds java automatically if the folder is in /usr/java, it would probably better to change the above two lines in /etc/profile.local to:GuestToo wrote: in /etc/profile.local, i have:
export JAVA_HOME=/usr/jre
export PATH=$PATH:$JAVA_HOME/bin
/usr/jre is a symlink to where i have Java installed ... /mnt/hda15/jre1.6.0_01/
Code: Select all
export JAVA_HOME=/usr/java
export PATH=$PATH:$JAVA_HOME/bin
Note that Puppy 4.3.1, for example, doesn't include the file /etc/profile.local by default. You therefore need to create a blank text file /etc/profile.local and include the above lines (and make the above suggested symlink to where you have your java installation).
Puppy will automatically read the file /etc/profile.local on reboot.
In addition, if you then create a shell script called application_x-jar in ~/Choices/MIME-types you should be able to simply click on .jar files to execute them from ROX. The file application_x-jar should contain the likes of:
Code: Select all
#! /bin/sh
exec java -jar "$1"
This uses the MIME-type mechanism to control the execution. See the following Howto on mime file type handling for an explanation of its operation:
http://www.murga-linux.com/puppy/viewto ... 990#363990
EDIT: An alternative to manually creating an application_x-jar script in ~/Choices/MIME-types is to right click on a jar file and set Run Action to:
Code: Select all
java -jar "$1"
That action will automatically create a application_x-jar shell script in the folder ~/.config/rox.sourceforge.net/MIME-types
github mcewanw
Why do you need 6u14.pet?xman wrote:Nikukyu has uploaded jre-6u17 pet and sfs (http://koinunoesa.blog46.fc2.com/blog-entry-99.html). They are certainly very cool but they come too late for me because I have used two weeks half-diyded jre-6u17. This is very OK with aTunes 1.13.5 , seamonkey old, firefox 3.5.5 and opera 10.01.
My steps (Puppy 4.31-k2.6.25.16):
1. Install 6u14.pet (http://puppylinux.asia/tpp/bugs/java-1.6u14.pet).
2. Delete java folder from /usr.
3. Download jre-6u17-linux-i586.bin file (http://javadl.sun.com/webapps/download/ ... leId=35675).
4. Unpack jre-6u17-linux-i586.bin file to /usr (run ./jre-6u17-linux-i586.bin).
5. Rename new jre1.6.0_17 folder to java.
6. Configure browser if needed (java support for firefox, flock, iceape, icecat, iceweasel, mozilla, opera, and seamonkey).
Just simple single click jre-6u17*.pet from rox to install and let pinstall.sh do symlinking, etc.
Considering time, I installed my half-diyded 6u17 security update two weeks ago. Updating takes about ten minutes. Rhetorical question: When you uploaded your 6u17 pet? (http://edwidianto.wordpress.com/2009/11 ... ppy-linux/)didik wrote:Why do you need 6u14.pet? Just simple single click jre-6u17*.pet from rox to install and let pinstall.sh do symlinking, etc.
Can you tell me some reason why change my well working 6u17 to strange one?
No reasonxman wrote:Considering time, I installed my half-diyded 6u17 security update two weeks ago. Updating takes about ten minutes. Rhetorical question: When you uploaded your 6u17 pet? (http://edwidianto.wordpress.com/2009/11 ... ppy-linux/)didik wrote:Why do you need 6u14.pet? Just simple single click jre-6u17*.pet from rox to install and let pinstall.sh do symlinking, etc.
Can you tell me some reason why change my well working 6u17 to strange one?
It's absolutely your freedom.
-eko didik widianto
How to Install Java
I tried different method listed in the forum. However, fail to install Java either in Opera or Seamonkey. In sometimes, while testing through javatester.org, it says that java installed. However, while browsing the site, Java required to installed and site is not visible where Java Runtime required. ( I have full hdd with latest version java)
Re: DIY - How to Install Java
[quote="playdayz"]Java always seemed mysterious and frustrating to me, but no longer, probably because I have made so many mistakes at it. I just installed it without any script, pet, or sfs and if I can do it, then anyone can do it.
1. Download java from java.com. I prefer to download it to /mnt/home to conserve my ram. If you want the latest revision you can just click the big download button, and then select the “Linux (self-extracting file)
1. Download java from java.com. I prefer to download it to /mnt/home to conserve my ram. If you want the latest revision you can just click the big download button, and then select the “Linux (self-extracting file)
Java jre-6u19-linux-i586.bin is available: http://javadl.sun.com/webapps/download/ ... leId=38654.
Re: DIY - How to Install Java
[quote="playdayz"]5. Open the folder jre1.6.0_14/plugin/ i386/ns7/ and drag the libjavaplugin.oji to either /usr/lib/mozilla/plugins or /root/.mozilla/plugins and choose “Link (relative).
It must be July now - or is it Christmas for Java users ? Java jre-6u20-linux-i586.bin is available: http://www.java.com/en/.xman wrote:Google researcher Tavis Ormandy has published details of a Java virtual machine bug that could be used to run unauthorized programs on a computer. The flaw affects all versions since Java SE 6 update 10 for Microsoft Windows and Linux (http://seclists.org/bugtraq/2010/Apr/80).
Many researchers are talking about serious Java bug, but Oracle don't consider this vulnerability to be critical, which could be a mistake on their part as that means it won't be patched until the next patch in the cycle is released – which should be around July.
Hi,Guys.
I delayed making to "JAVA-6u21".
http://koinunoesa.blog46.fc2.com/blog-entry-182.html
It tries
I delayed making to "JAVA-6u21".
http://koinunoesa.blog46.fc2.com/blog-entry-182.html
It tries