Getting java-apps to work


Forum: Other Help Topics
Topic: Getting java-apps to work
started by: reidar

Posted by reidar on Nov. 24 2005,07:49
I have DSL 1.5, frugal install with persistent /home and /opt. I am trying to get some java-based apps to work with the java.uci (from the MyDSL-repositories), but I am experiencing some ... challenges. I tried, for instance, Freemind, which is an excellent, java-based application. I downloaded the binary (zipped) package from the Freemind website, unzipped it with the p7zip.dsl and placed it in /opt (because I thought I'd make a .uci out of it if I could get it to work). Freemind has a startup script, which is really only a bash script I think, that basically helps finding the java directories I think. Now, the java.uci is placed in /opt which is not in PATH, so the Freemind script cannot find it. I have tried to hack the script to direct it to /opt/jre1_5_0 and I get the app up and running, but it seems as if everything isn't completely right. So my question for those of you who have tried similar things with the jre1_5_0.uci: is hacking the startup script of each application the only way to fix this, or is there another trick? (I guess creating symlinks in /usr/bin is out of the question for a frugal install?!) I have searched the forums for answers to this, but I haven't found much concerning this. Please direct me to a relevant post if I have overlooked something.

Hope someone has some ideas :-)

-r

Posted by doobit on Nov. 24 2005,14:29
The .uci packages, including the jre_5_0.uci, will load automatically if they are placed on the boot partition (not the boot directory, but at the head of the partition) of the Frugal install. If you don't want it to load automatically, then put it in your persistant /home and you can load it with Elefm by selecting it and clicking the myDSL button. It works for me anyway.

<edit> I just read a post by Robert that expalins that you cna make the myDSL extentions permanent by copying them to the /cdrom directory in a Frugal install with DSL-2.0

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.