• Post Reply Bookmark Topic Watch Topic
  • New Topic

run Java programs without the JDK runtime environment?  RSS feed

 
Diego Bowen
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I somehow have an executable with the java runtime included??? Similar to how a c/c++ have produce a standalone executable???
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need JDK, but you do need JRE (Java Runtime Environment). Remember, java is a (essentially) interpret language, while C/C++ are native lanaguage.
 
DreamingWolf Muller
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is possible to bundle a JRE version with your program so that it can be run on system that did not previously have JRE installed. You'll just need to make several bundles, one for each OS your user have on their PCs.
DWolf
 
Diego Bowen
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would i do this using JBuilder...do you know of a site that discusses this??
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not familiar with the specific tools that JBuilder provides for such a task. However, I suspect you need something like InstallShield or InstallAnywhere to package the JRE with your program for anyone who wants to use your program. I have used C++Builder 5, which came with InstallShield. Perhaps JBuilder comes with something similar. You should also google for more information about installation programs like these.
Layne
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!