Java 1.5.0_4 Installer

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

Java 1.5.0_4 Installer

#1 Post by GuestToo »

Java 1.5.0_4 Installer

this should download and install Java 1.5.0_4
to the folder you choose

note:
this will download a 17 meg file
Java requires about 100 megs of hard drive space to install
Java will use 84 megs of hard drive space

the Java installer will be an icon in my-roxapps
drag the icon to the desktop if you want a shortcut
click the icon to run the installer
delete the icon to uninstall the installer

edit: attachment removed
Last edited by GuestToo on Thu 31 Aug 2006, 02:56, edited 1 time in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

Nice G2 ;)

You have added a directory option to install to . . .

How should Aunt Maude know where to install java? I was not sure. It is not a program - so just put it somewhere :)

Other programs this might be a good thing.
I still do not know the difference between a rox-app and my-applications.

If Aunt Maude {generic non computer literate user] needs to know something about an OS - then it is already too complex.

What about "Create a desktop icon" and before that a check and possible run of the pup001 resizer?

Personally I feel java is VERY important

Who knows a page of java programs?
Remember java programs can be run from Windows, Puppy and Mac and from any browser.

eg
create a CD cover
http://lobby4linux.com/modules/wfsectio ... ticleid=15
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

Great Work

#3 Post by klhrevolutionist »

Well, there are two sides of the story as lobster has mentioned!
For the non-user this would be an ob-stac-le
I personally like your previous version that was automatic!!
But take into account for aunt maude or whoever,
But great job from my point of view!!!
Heaven is on the way, until then let's get the truth out!

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: Java 1.5.0_4 Installer

#4 Post by edoc »

GuestToo wrote:Java 1.5.0_4 Installer
Anyone else finding that Java cometimes misbehaves?

It is saying that System cache is not configured but when I look at Temporary Files Settings it is set to Unlimited and when I look at View Applets there is a ton of stuff I never ran in there, including 673KB of drawpoker-ob-comp.jar-573edco..., and Enable Caching is checked.

Java fails when I try to use it to run the Thingamablog aplet thingamablog.jar and I cannot see what I might tweak to fix it.

It works OK when viewing Java-required Web pages via Mozilla, not sure why it might misbehave running a local Java app..

Should I reinstall Java perhaps?

Ideas, please? Thanks! doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#5 Post by GuestToo »

what happens when you type
java -jar thingamablog.jar in rxvt? what error messages do you get?

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

128 MB flash

#6 Post by raffy »

Companies using java will be interested to use Puppy if it will fit a small enough flash drive. say, open office + java = 256 MB, which I suppose is possible in this installation?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#7 Post by Lobster »

Puppy, Java and Open Office will fit in 256 meg

What is the situation with Flash (which is part of Mozilla)? That can be placed in hardware without licensing problems? There is a smaller version of Java (I think called jifi) but frankly developers would probably prefer the full version. I believe efforts to get Puppy into hardware - yes there are embedded Linuxes - anyone know about them? - is worthwhile.

Eventually I would expect the Bios and OS to be combined. Once an OS is something expected and shipped with a motherboard, a lot of the time wasters from Redmond will be redundant . . . Bless!
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#8 Post by edoc »

GuestToo wrote:what happens when you type
java -jar thingamablog.jar in rxvt? what error messages do you get?
Works fine that way! ;-)

# java -jar thingamablog.jar
Starting Thingamablog 1.0.2...

Target OS = Linux
OS Version = 2.4.29
OS Architecture = i386
Java Version = 1.5.0_04-b05
Aug 28, 2005 7:45:32 PM net.sf.thingamablog.App main
INFO: Thingamablog 1.0.2 OS: Linux JRE: 1.5.0_04-b05
Aug 28, 2005 7:45:44 PM net.sf.thingamablog.App main
INFO: Init time: 12096ms

Connecting to database...
Connected.
LOADING DATA
DONE LOADING DATA
Database shutdown

doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

paulj

error java.lang.NoClassDefFoundError

#9 Post by paulj »

Hi Guys

I've installed jre1.5.0_04 but every time I run a .jar file it gives a java.lang.No ClassDefFound Error can't run java class files either am I missing something?
Do I need to add or adjust something?
I did a google but didnt seem to get very far,
Thanks in advance for your help

Paul

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#10 Post by GuestToo »

to run a java program (a .jar file) you need to setup the PATH and JAVA_HOME variables ... my installer does this, but it may not work with Puppy 1.0.5 ... i haven't tried 1.0.5 yet

there should be something like this in /etc/profile:

Code: Select all

export JAVA_HOME=/root/jre1.5.0_04
export PATH=$PATH:$JAVA_HOME/bin
(with the correct path to your Java files, of course)

then get Puppy to read /etc/profile ... rebooting is the easiest way

if you are running 1.0.5 or newer, it would be better to put those lines in /etc/profile.local (create the file if it doesn't exist) ... because Puppy should not overwrite /etc/profile.local when it upgrades ... 1.0.4 and earlier versions of Puppy do not use /etc/profile.local)

of course, this is a problem with all versions of Puppy ... when Puppy upgrades, it overwrites /etc/profile, which usually disables Java ... i thought of maybe a wrapper script for the Java executable, which would fix /etc/profile every time it runs ... but it didn't do it that way

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Question

#11 Post by raffy »

How will this fit with what you're trying to do, PaulJ?

EDIT: Great plans below, as Barry described. All for under 100 MB !!!
Last edited by raffy on Thu 29 Sep 2005, 12:26, edited 1 time in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: 128 MB flash

#12 Post by BarryK »

raffy wrote:Companies using java will be interested to use Puppy if it will fit a small enough flash drive. say, open office + java = 256 MB, which I suppose is possible in this installation?
raffy,
Yes, as Lobster responded, it will work in 256M ram.

I have just now created the 1.0.5 Chubby Puppy, that I will
upload soon. The iso file is only 91.4M.
If we added John Murga's Java package at 6M, that gives us
about 98M, and that will run very happily in a 256M PC.
Probably even the full Java from Sun would be fine.

I do need to create the OO packages again though, as I
made some installation choices based on no Java.
Will probably also upgrade to OO version 2.
...which will be bigger.

But I reckon we can aim for a OO + Java live-CD at under 100M. A thin-PC with 256M ram will handle that.

Post Reply