Following on post https://portableapps.com/node/1141#comment-6250
here is the batch file to launch FreeMind using the commonfiles/java structure
********************************************
@echo off
..\CommonFiles\Java\bin\java -cp lib\freemind.jar;lib\ant\lib\jaxb-api.jar;lib\ant\lib\jaxb-impl.jar;lib\ant\lib\jaxb-libs.jar;lib\ant\lib\namespace.jar;lib\ant\lib\relaxngDatatype.jar;lib\ant\lib\xsdlib.jar;lib\ant\lib\jax-qname.jar;lib\ant\lib\sax.jar;lib\ant\lib\dom.jar freemind.main.FreeMind
*********************************************
just shows a DOS window while running. If I try hiding it with cmdow Norton flags it as a trojan ...?
I am sure someone here can code that better?
This is my batch file. Look at the first parameter passed to java.exe. It makes Freemind to store setting in its Data subfolder instead in "Documents and settings" so all stuff is on the USB flash.
@echo off
..\cmdow @ /hid
..\jre\bin\java -Duser.home=.\Data -cp lib\freemind.jar;lib\ant\lib\jaxb-api.jar;lib\ant\lib\jaxb-impl.jar;lib\ant\lib\jaxb-libs.jar;lib\ant\lib\namespace.jar;lib\ant\lib\relaxngDatatype.jar;lib\ant\lib\xsdlib.jar;lib\ant\lib\jax-qname.jar;lib\ant\lib\sax.jar;lib\ant\lib\dom.jar freemind.main.FreeMind > out.txt 2> err.txt
..\cmdow @ /vis