This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java On CDROM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java On CDROM" Watch "Java On CDROM" New topic
Author

Java On CDROM

zniter goh
Greenhorn

Joined: Sep 23, 2001
Posts: 29
hi....
can i install java virutal machine on the cd itself??? so users that does not have the virtual machine still can run the program within the cd rom...
thx..
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Sure, why not. Just include a JRE on the CD and be sure that when you invoke your application, that you set the classpath to point at the JRE on the CD.
However, you might have to be deal with the problem, that not everyones CD is on the same drive. Here my CD in on the E: drive. At home my CD is on the G: drive. So you are going to need to have someway of changing that drive in the classpath parameter in the .bat file or script that you use to fire up your application.
[ January 16, 2002: Message edited by: Cindy Glass ]

"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java On CDROM
 
Similar Threads
How to kill windows by linux!
Disaster: as Cindy promised me
New to Java
installation of jdk 6.0
How to align mutliple columns properly using print?