JAR Files as Applications - 1.2 platform only
In version 1.2 of the JDK software, you can run JAR-packaged applications with the Java interpreter. The basic command is:
java -jar jar-file
The -jar flag tells the interpreter that the application is packaged in the JAR file format.
"JavaRanch, where the deer and the Certified play" - David O'Meara
"JavaRanch, where the deer and the Certified play" - David O'Meara
"JavaRanch, where the deer and the Certified play" - David O'Meara
Will the Microsoft Virtual Machine for Java support the .jar file format?
Jar support is the same as .zip. .jar = .zip + manifest. So Microsoft will support uncompressed and compressed .jar files, but not signed .jar files. If you need Java security (beyond sandbox) in Internet Explorer 4, you need to use a signed .cab file. This applies to all fine-grained Java security (including running in a sandbox on the local machine using the Package Manager).
Can my applet that is inside a .cab file use class files from outside the .cab that are not installed in the local machine's CLASSPATH?
Class files from a Web server cannot be used by classes in a .cab file with the Microsoft VM for Java, build 1517 and earlier. With build 2057 of the VM, from the Microsoft SDK for Java 2.0 Preview, you can use classes from outside of the .cab file.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|