Results 1 to 5 of 5
Thread: jvm on flash drive
- 11-01-2009, 12:00 PM #1
Member
- Join Date
- Nov 2009
- Posts
- 2
- Rep Power
- 0
- 11-01-2009, 12:03 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,380
- Blog Entries
- 7
- Rep Power
- 17
- 11-01-2009, 06:07 PM #3
Member
- Join Date
- Nov 2009
- Posts
- 2
- Rep Power
- 0
Thanks a lot, i guess it also works for linux-based systems? Maybe it possible to create *.bat or *.sh file for each apps, in this way i don't need to link the bin directory with the environment variable PATH?
e.g.:
./java.exe -jar myapp.jar
- 11-02-2009, 06:54 AM #4
Member
- Join Date
- Feb 2009
- Posts
- 92
- Rep Power
- 0
For windows systems, the site "PortableApps.com" has an application that will launch a java application. Can't tell you all the details. May require a .jar file rather than .class, but I can run JEDIT on a windows system with it from a flash drive. Open source, free.
- 11-02-2009, 07:38 AM #5
Yeah, I use the PortableApps version on my flash drive (works great).
I have it setup as one of the JVMs I use in Eclipse (which is also on my flash drive). This way, if I'm on a different computer I can still use the current JRE. I also copied src.zip to the directory and linked it in Eclipse, so I can browse the source code and have the JavaDocs with me as well.
Also, PortableApps has Java Portable Launcher, which allows you to easily run jar files. The user.home and user.dir System properties reflect the location of the launcher (not the jar) so that your settings (if any are saved by the jar) are portable as well.
Links:
Java Portable
Java Portable LauncherCodesAway - codesaway.info
writing tools that make writing code a little easier
Similar Threads
-
How to index drive and database.
By jazz2k8 in forum LuceneReplies: 0Last Post: 03-31-2009, 07:07 AM -
NetBeans 6.5 installation on flash drive
By andre1011 in forum NetBeansReplies: 3Last Post: 03-23-2009, 04:19 AM -
Reading Pen Drive
By ravjot28 in forum Advanced JavaReplies: 1Last Post: 07-05-2008, 02:48 PM -
Drive names
By alwz_nikhil in forum New To JavaReplies: 0Last Post: 11-28-2007, 10:04 AM -
access cd drive
By milinkp in forum New To JavaReplies: 0Last Post: 07-20-2007, 06:14 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks