Ticket #1171 (new Discussion)

Opened 4 months ago

Last modified 4 months ago

Portable Jajuk

Reported by: tig Assigned to:
Priority: 1, lowest Milestone: To Be Decided by Jajuk Team
Component: (Jajuk Members) Any (Default Component) Version:
Keywords: Cc:

Description

This is a solution I found to make Jajuk portable across Windows platforms (sorry no Linux) to be carried on a flash drive or an external hard disk, including (if desired) a music collection.

The utility that I used is JavaExe (version 3.0.2, freeware). The directory listing of Jajuk in the flash drive is as follows ("h" is the drive assigned to my flash drive):

h:\Jajuk\                jajuk.exe, jajuk.properties from JavaExe*
h:\Jajuk\bin\	         jajuk jars (no change)
h:\Jajuk\configuration\	 configuration placed here for portability
h:\Jajuk\dist-files\	 jajuk dist files (nochange)
h:\Jajuk\jre\	         Java JRE placed here for portability*
h:\Jajuk\lib\	         jajuk lib files (no change)
h:\Jajuk\mplayer\	 jajuk mplayer config (no change)
h:\Jajuk\Music\	         music files placed here for portability

* as described in the JavaExe documentation

The jajuk.properties file is:

JREversion		=1.6
PersonalClasspath	=.\bin
MainArgs		=-notest
MainClass		=org.jajuk.Main
PersonalOptions		=-Xms20M -Xmx512M -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10
RunType			=0
ClassDirectory		=.\lib
ResourceDirectory	=.\bin
PathJRE			=.\jre

The only problem with this that I have found so far is that when closing Jajuk there still seems to be files opened on the drive so that it is not possible to remove the drive without a shutdown of the machine.

Have a look and if appropriate, include this in the documentation.

-- tig

Attachments

Change History

08/08/08 16:27:47 changed by bflorat

Thanks for the tip. You can create an user howto if you wish. See : http://jajuk.info/index.php/Category:User_Howto_Guides

On files kept opened, it's strange, could you please use "filemon" Microsoft utility to check whish file is still open ?

On the manual, I feel something's mising : where do you set the jajuk collection path (the directory where jajuk stores all collection data) ? Jajuk reads the <home>\.jajuk_bootstrap file to get it. By default, this directory is <home>\.jajuk


Add/Change #1171 (Portable Jajuk)