• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java On CDROM

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic