Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 13:56
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Script to install Java Runtime Environment
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: 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
java1506.pup
Description 
pup

 Download 
Filename  java1506.pup 
Filesize  6.66 KB 
Downloaded  647 Time(s) 

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
paulh177


Joined: 22 Aug 2006
Posts: 875
Location: ST862228

PostPosted: 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
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: 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
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: 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
jre1.6.0_13-installer-1.tar.gz
Description 
gz

 Download 
Filename  jre1.6.0_13-installer-1.tar.gz 
Filesize  5.6 KB 
Downloaded  618 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile


Last edited by ttuuxxx on Sat 25 Apr 2009, 22:53; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: 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
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: 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 Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
sikpuppy


Joined: 29 Mar 2009
Posts: 433

PostPosted: 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
View user's profile Send private message MSN Messenger 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: 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 Smile

Back to top
View user's profile Send private message Visit poster's website 
sikpuppy


Joined: 29 Mar 2009
Posts: 433

PostPosted: 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
View user's profile Send private message MSN Messenger 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: 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 Smile

Back to top
View user's profile Send private message Visit poster's website 
sikpuppy


Joined: 29 Mar 2009
Posts: 433

PostPosted: Sat 25 Apr 2009, 23:06    Post subject:  

Thanks Smile

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
View user's profile Send private message MSN Messenger 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: 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
View user's profile Send private message Visit poster's website MSN Messenger 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 26 Apr 2009, 18:16    Post subject:  

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


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 Smile

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0838s ][ Queries: 12 (0.0050s) ][ GZIP on ]