I use the m command line argument to specify the manifest file mainClass, which adds information to the jar file on where the main class will be found. Note: make sure you type a carriage return after this line some windows systems need it and will report a Failed to load Main-Class manifest attribute error. This file contains a single line specifying where the main Class is to be found in the jar file. I tested the system to make sure it worked before going on to the next step. Therefore, the HelloWorld files (HelloWorld.class, HelloWorld.java) were located in the directory psae. Since JotPad is sand-boxed, the user will be prompted as to whether to create the shortcut.įor this example, I created a trivial HelloWorld application that prints out Hello World plus the first command line argument, and placed it into the package psae. It offers one click installation for platforms that support Java. I added a screen-shot to my answer indicating what I think you are asking (2nd option). Turn Jws Files Into Spectra Code Decode Base64 Turn Jws Files Into Spectra Code Decode Base64.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |