Page 1 of 1

Java 1.5.0_4 Installer

Posted: Thu 04 Aug 2005, 05:17
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

Posted: Fri 05 Aug 2005, 04:46
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

Great Work

Posted: Fri 05 Aug 2005, 06:32
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!!!

Re: Java 1.5.0_4 Installer

Posted: Sun 28 Aug 2005, 03:42
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

Posted: Sun 28 Aug 2005, 04:44
by GuestToo
what happens when you type
java -jar thingamablog.jar in rxvt? what error messages do you get?

128 MB flash

Posted: Sun 28 Aug 2005, 05:42
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?

Posted: Sun 28 Aug 2005, 07:10
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!

Posted: Sun 28 Aug 2005, 20:19
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

error java.lang.NoClassDefFoundError

Posted: Wed 28 Sep 2005, 17:30
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

Posted: Wed 28 Sep 2005, 18:35
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

Question

Posted: Thu 29 Sep 2005, 08:15
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 !!!

Re: 128 MB flash

Posted: Thu 29 Sep 2005, 09:48
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.