Script to install Java Runtime Environment
Script to install Java Runtime Environment
From time to time, there are requests on this forum asking how to install Java. I use this dotPUP. I cant remember where I got it from now, but it seems to be a direct link to the Java site, so it installs the latest version. Just download it and run it. It will install a java downloader for you and then install Java. There are onscreen prompts, I usually just accept the defaults, and it gives you the option to delete the installer when you have finished. Tip: you must scroll right to the bottom of the license agreement before it allows you to proceed with the installation. I have used it on 4.0, 4.1x, 4.2, and various NOP versions with total success. You must first install dotpuphandler to run it. Or you could try converting it to a .pet using puptopet
- Attachments
-
- java1506.pup
- (6.66 KiB) Downloaded 846 times
Spup Frugal HD and USB
Root forever!
Root forever!
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
I tried, but the dotpup installes the 5_06 and not the 6_13 which is the latest.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
GuestToo wrote this in 2005 by the looks of the code.
The URL for the Java version is hardcoded hence why it always picks up the older version.
This script installs a version of Java from the Sun site, then sets up the links and environmnent variables and plugins correctly (for Mozilla at least), and cleans up after itself.
Is there is a way to get the correct URL for the latest Java download package "on the fly" ? This script would then be really useful as a Puppy "builtin", and means we wouldn't have to rely on someone grabbing the latest Java and turning it into a dotpet or sfs; plus make life easier for those who feel unconfident about doing a more "manual" install.
The URL for the Java version is hardcoded hence why it always picks up the older version.
This script installs a version of Java from the Sun site, then sets up the links and environmnent variables and plugins correctly (for Mozilla at least), and cleans up after itself.
Is there is a way to get the correct URL for the latest Java download package "on the fly" ? This script would then be really useful as a Puppy "builtin", and means we wouldn't have to rely on someone grabbing the latest Java and turning it into a dotpet or sfs; plus make life easier for those who feel unconfident about doing a more "manual" install.
That would be perfectpaulh177 wrote:GuestToo wrote this in 2005 by the looks of the code.
The URL for the Java version is hardcoded hence why it always picks up the older version.
This script installs a version of Java from the Sun site, then sets up the links and environmnent variables and plugins correctly (for Mozilla at least), and cleans up after itself.
Is there is a way to get the correct URL for the latest Java download package "on the fly" ? This script would then be really useful as a Puppy "builtin", and means we wouldn't have to rely on someone grabbing the latest Java and turning it into a dotpet or sfs; plus make life easier for those who feel unconfident about doing a more "manual" install.
Spup Frugal HD and USB
Root forever!
Root forever!
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Well I updated to the latest release, Thats about the end of my skills. It works fine, just remember to enable java in seamonkey. Or seamonkey won't use it by default its disabled.DaveS wrote:That would be perfectpaulh177 wrote:GuestToo wrote this in 2005 by the looks of the code.
The URL for the Java version is hardcoded hence why it always picks up the older version.
This script installs a version of Java from the Sun site, then sets up the links and environmnent variables and plugins correctly (for Mozilla at least), and cleans up after itself.
Is there is a way to get the correct URL for the latest Java download package "on the fly" ? This script would then be really useful as a Puppy "builtin", and means we wouldn't have to rely on someone grabbing the latest Java and turning it into a dotpet or sfs; plus make life easier for those who feel unconfident about doing a more "manual" install.
I just made it into a tar.gz package so all you do is extract it and run it.
hope that helps
ttuuxxx
- Attachments
-
- jre1.6.0_13-installer-1.tar.gz
- (5.6 KiB) Downloaded 874 times
Last edited by ttuuxxx on Sun 26 Apr 2009, 02:53, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
usually security fixes and thats about itDaveS wrote:Thanks. I just downloaded it and will run it later. Will I gain anything upgrading over previous version I wonder...................
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
As Paulh177 remarks, ideally the script should connect to the sun site, look for the correct URL and use it. Easier to say then to do.
I found the place for the hardcoded URL and replaced with the correct one by going to the sun site manually.
Thanks to adapt the script.
I found the place for the hardcoded URL and replaced with the correct one by going to the sun site manually.
Thanks to adapt the script.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Why is this in the install script?ttuuxxx wrote: I just made it into a tar.gz package so all you do is extract it and run it.
hope that helps
ttuuxxx
defaultbrowser http://www.bodo.com/javame.htm
I don't like that much.
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I don't know it was in the first version, I only updated the SUN links, I didn't include that test page.sikpuppy wrote:Why is this in the install script?ttuuxxx wrote: I just made it into a tar.gz package so all you do is extract it and run it.
hope that helps
ttuuxxx
defaultbrowser http://www.bodo.com/javame.htm
I don't like that much.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Well the site sent the default anti-phishing tool (in FF3.x) into spasms when it tried to connect, it really should connect to the Java homepage IMHO.
*edit* http://java.com/en/download/installed.jsp is the official testing page.
*edit* http://java.com/en/download/installed.jsp is the official testing page.
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
ok I updated with this link, I don't have a anti-phising tool installed so I didn't have a issue, Thankssikpuppy wrote:Well the site sent the default anti-phishing tool (in FF3.x) into spasms when it tried to connect, it really should connect to the Java homepage IMHO.
*edit* http://java.com/en/download/installed.jsp is the official testing page.
http://www.java.com/en/download/help/testvm.xml
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Thanks
FYI http://safebrowsing.clients.google.com/ ... javame.htm
I think Google analytics is redirecting pages that use it's technology if they are abusing the same technology, possibly nothing to do with any filter I have.
FYI http://safebrowsing.clients.google.com/ ... javame.htm
I think Google analytics is redirecting pages that use it's technology if they are abusing the same technology, possibly nothing to do with any filter I have.
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
A Firefox browser with Java already preinstalled and configured is available here, as a pet, an sfs and a pup_420.sfs:-
http://www.murga-linux.com/puppy/viewtopic.php?t=40497
http://www.murga-linux.com/puppy/viewtopic.php?t=40497
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I think they should include this little updated installer puppy, How easy if it was located root, couple of clicks and boom its installed.ecomoney wrote:A Firefox browser with Java already preinstalled and configured is available here, as a pet, an sfs and a pup_420.sfs:-
http://www.murga-linux.com/puppy/viewtopic.php?t=40497
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Actually add it to puppy itself to download and install? Pretty easy...but a link via the install program would be easier to maintain (wouldnt be hard-burnt into cd's).
Have you seen this idea for an installer that would load via petget Ttuxx? Interested to know what you think.
http://www.murga-linux.com/puppy/viewtopic.php?t=41674
Have you seen this idea for an installer that would load via petget Ttuxx? Interested to know what you think.
http://www.murga-linux.com/puppy/viewtopic.php?t=41674
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Well thats a double download, the size of the script is great and could be added, how I see it is basically the same model with some changes, when you click on it, it downloads a java.txt file from a server in the background, maybe a message popup 'Please wait getting the latest versions download location",maybe the repo or puppylinux.ca where I could update it at ca. This java.txt file would have the latest location for the download, that way it would be just a click and not a actual download install with petget, then find the script, then install. also puppy could remove Flash from the default release saving over 2MB compressed, and have a flash section, older release which we could have at the repo and latest version, where 1 click will download the Java.txt script and would have the flash info and java all in one.ecomoney wrote:Actually add it to puppy itself to download and install? Pretty easy...but a link via the install program would be easier to maintain (wouldnt be hard-burnt into cd's).
Have you seen this idea for an installer that would load via petget Ttuxx? Interested to know what you think.
http://www.murga-linux.com/puppy/viewtopic.php?t=41674
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
If seamonkey detected JAVA was needed (or wanted) on a page and ran the script automaticly to install it in puppy it would be even better.
, possibly with a tickbox to say "dont ask me again"...I know a lot of people dont like having java installed because of security, or want to be bugged to install it all the time.
[/code]
Code: Select all
"This page requires the java plugin for some of its functions to work fully. Do you want to install this now? (Y/N)"
[/code]
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
I was kinda hoping something like this could happen. Please dont forget that Java is not JUST a browsing issue. Open Office also needs it if it is to be fully functional.ttuuxxx wrote: I think they should include this little updated installer puppy, How easy if it was located root, couple of clicks and boom its installed.
ttuuxxx
Spup Frugal HD and USB
Root forever!
Root forever!
- spongedaddy
- Posts: 46
- Joined: Wed 03 Jun 2009, 01:47
- Location: Winter Park, FL
- Contact:
My newbie $0.02:
Just installed MU's JRE 1.5.0_08 from the wiki and used dotpuphandler to install it (despite the "officially discouraged" line).
I checked my favorite Java-using beach cam, and everything is A-OK.
Just installed MU's JRE 1.5.0_08 from the wiki and used dotpuphandler to install it (despite the "officially discouraged" line).
I checked my favorite Java-using beach cam, and everything is A-OK.