Sure, just install a JRE instead.
If you don't want to do that either, consider this:
can you run a Windows application on a computer without installing Windows?
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
won't work, chicken and egg scenario. He needs the JRE to get into the jar and he needs the jar to get the JRE.
No, he needs to install a JRE on the target systems (or state in his system requirements that one be installed, far easier).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Of course, if you really are wanting to make for lesser work for the user (which, I really don't think you need to do this, but, it can be done), create a self extracting install which will bundle the jre and your jar together, then run your jre then run the jar.
Not sure how to go about it personally, cause it's not a forte of mine, but, I've seen it done.
I personally don't mind installing the runtimes that I need as long as the programmer has told me where I can get them.
Sage
sagedavis
Junior Poster in Training
86 posts since Nov 2007
Reputation Points: 10
Solved Threads: 6