| Author |
Message |
DaveS

Joined: 09 Oct 2008 Posts: 3695 Location: UK
|
Posted: Sun 12 Apr 2009, 05:09 Post_subject:
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
| Description |
|

Download |
| Filename |
java1506.pup |
| Filesize |
6.66 KB |
| Downloaded |
609 Time(s) |
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Sun 12 Apr 2009, 07:28 Post_subject:
|
|
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
|
|
Back to top
|
|
 |
paulh177

Joined: 22 Aug 2006 Posts: 870 Location: ST862228
|
Posted: Fri 17 Apr 2009, 03:01 Post_subject:
|
|
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.
|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3695 Location: UK
|
Posted: Fri 17 Apr 2009, 03:11 Post_subject:
|
|
| paulh177 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. |
That would be perfect
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Fri 17 Apr 2009, 12:29 Post_subject:
|
|
| DaveS wrote: | | paulh177 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. |
That would be perfect |
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.
I just made it into a tar.gz package so all you do is extract it and run it.
hope that helps
ttuuxxx
| Description |
|

Download |
| Filename |
jre1.6.0_13-installer-1.tar.gz |
| Filesize |
5.6 KB |
| Downloaded |
579 Time(s) |
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

Edited_time_total
|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3695 Location: UK
|
Posted: Fri 17 Apr 2009, 12:35 Post_subject:
|
|
Thanks. I just downloaded it and will run it later. Will I gain anything upgrading over previous version I wonder...................
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Fri 17 Apr 2009, 12:40 Post_subject:
|
|
| DaveS wrote: | | Thanks. I just downloaded it and will run it later. Will I gain anything upgrading over previous version I wonder................... |
usually security fixes and thats about it
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Fri 17 Apr 2009, 14:12 Post_subject:
|
|
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.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
sikpuppy

Joined: 29 Mar 2009 Posts: 433
|
Posted: Sat 25 Apr 2009, 22:34 Post_subject:
|
|
| 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 |
Why is this in the install script?
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.
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sat 25 Apr 2009, 22:37 Post_subject:
|
|
| sikpuppy wrote: | | 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 |
Why is this in the install script?
defaultbrowser http://www.bodo.com/javame.htm
I don't like that much. |
I don't know it was in the first version, I only updated the SUN links, I didn't include that test page.
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
sikpuppy

Joined: 29 Mar 2009 Posts: 433
|
Posted: Sat 25 Apr 2009, 22:46 Post_subject:
|
|
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.
_________________ ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sat 25 Apr 2009, 22:55 Post_subject:
|
|
| sikpuppy 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. |
ok I updated with this link, I don't have a anti-phising tool installed so I didn't have a issue, Thanks
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

|
|
Back to top
|
|
 |
sikpuppy

Joined: 29 Mar 2009 Posts: 433
|
Posted: Sat 25 Apr 2009, 23:06 Post_subject:
|
|
Thanks
FYI http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=Firefox&hl=en-US&site=http://www.bodo.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.
|
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Sun 26 Apr 2009, 16:20 Post_subject:
|
|
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
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 26 Apr 2009, 18:16 Post_subject:
|
|
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
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
|