example need to load/run binary from JWS
843802Jun 12 2003 — edited Jun 16 2003Hi, 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