Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

example need to load/run binary from JWS

843802Jun 12 2003 — edited Jun 16 2003
Hi, I have a legacy binary exe tools, I want when user click my jnlp and load the Java program, at the same time the binary also load/saved in user machine. Within the java program, users can start this binary.

So what need to do?
1. Package the binary into a jar, say xyz.jar?
2. how to prepare .jnlp for it?
3. If it is dll, I can call Runtime.getRuntime().loadLibrary(xyz). But for binary exe, what should I do? untar it somewhere or even a static folder, and call Runtime.getRuntime().exec(xyz)?

Please point me a direction or URL if this topic is post before



Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2003
Added on Jun 12 2003
3 comments
54 views