Re: JAR File Programming Software Development by new_2_java jar cvf your_jar_file_name.jar your_file_name Re: Jar Programming Software Development by raevin [QUOTE=glamo]How to make a jar file ? can anyone tell :( me[/QUOTE] Are you using the NetBeans IDE? If so, I believe it comes w/ a JAR project file kind of setup that you can use. (Note: I don't use NetBeans, but I've seen it in various screenshots.) Jar Programming Software Development by glamo How to make a jar file ? can anyone tell :( me Re: Jar Programming Software Development by jwenting From the command line simply type "jar" to get an explanation on how to use the command. There's also a manual provided in the JDK documentation kit. JaR Programming Software Development by sankubha how to save my jar file from class decompiler. Re: JaR Programming Software Development by JamesCherrill Do you mean you want to protect your jar so it can't be decompiled? There's no perfect solution, but there are ways to make it more difficult. Google for **java obfuscation** Re: Jar problem in pictures Programming Software Development by barramedalb … Manifest file, this contain the Main class of your jar file Manifest-Version: 1.0 Main-Class: Main where…the directory where you image is located. jar cmf Main.mf Main.jar Main.class Main.java public/images in ….To valid that content of your jar file run jar tf YourJarFile.jar jar tf Main.jar To access the image you can use… Re: Jar problem in pictures Programming Software Development by NormR1 … file I use to create a jar file: REM Make FTPUpLoader.jar file Set JarName=%JAVA_RUN%\FTPUploader.jar %DEV_DRIVE% cd %DEV_HOME%\JavaDevelopment\NormsDev… Now pick up the Tools it needs: cd %DEV_HOME%\JavaDevelopment\ jar -uf %JarName% NormsTools\ErrDialog*.class NormsTools\MakeEnterDoAction*.class NormsTools\MessageArea… Re: Jar problem in pictures Programming Software Development by jemz … results. I already paste it,you mean like this jar cmf etc...? Okay i tried to change it to… jar cmf myManifes.mf.txt Student.jar etc... it created a jar file but when i click…command C:\Documents and Settings\jemz\Desktop\myprog>java -jar Student.jar Error: Could not find or load main class GuiStudent Re: jar file and Nokia Suite Programming Software Development by dennysimon …the Nokia pc suite when i click K.jar ,windows only ask the software from the list…asking anymore. The problem is if my K.jar want to be distributed among client May be… the client think how un professional this K.jar creator is addition : the Nokia pc suite …not only disturbs K.jar ,but the whole jar files in desktop,beside that it … Jar problem in pictures Programming Software Development by jemz … have a program and i created into a jar file,but the problem is when i am …going to remove the jar file into the directory where my java classes …and pictures resides,when i click the jar file the picture of my buttons are gone.…make my picture visible to the jar file without putting back the jar file into the directory.or how… jar problem Programming Software Development by harinath_2007 … works fine when i build my project and run the jar file from the netbeans(dist) folder. But when i … of the execution. Here is the output of my jar file when i run it from another place(other than…netbeans folder) C:\Users\Myself>java -jar C:\Users\Myself\Desktop\Notifier.jar creating instance setting look and feel system … Re: jar file speech synthesizer Programming Software Development by DavidKroukamp …i run from netbeans. But when i make the jar file and run it , its not working. …Plz let me know. [EDIT}- When i run the jar file from command prompt , here's the output […the mbrola message i just took out the mbrola jar from both paths :D, but first get …im using and it works from nb and the jar/command line:[code] import com.sun.speech.freetts… Jar File Images Programming Software Development by Virux …'s(13x13) But, my problem runs around the Jar file. I would like to have my images to… be in the jar file, and not just in the jar's root directory. Just, so…No. Lol I can SEE the images in the jar file when opened with winRar, and I can even… see the JFIF raw data in the Jar opened with Notepad. So, the error must lie… jar file not opening Programming Software Development by sahilsinghi i tried to make a executable jar file.a program as follows [CODE]import java.io.*; class … using command prompt main:marks then i made a executable jar file using command prompt as follows C:\mywork>…; jar cvfm marks.jar manifest.txt *.class when i click on the jar file it does not open… Re: Jar problem in pictures Programming Software Development by jemz … C:\Documents and Settings\jemz\Desktop\myprog>jar cmf myManifest.mf Student.jar GuiStudent$AddButton.Class GuiStudent$DeleteButton.Class GuiStudent$ExitButton…;(FileInputStream.java:97) at sun.tools.jar.Main.run(Main.java:171) at sun.tools.jar.Main.main(Main.java:1177) C… JAR execution delay and output does not appear in browser. Programming Software Development by kelkoo28 …do /opt/lampp/bin/php myphp.php the jar gets executed and the output appears in the… in my browser, the output of the jar when executed does not appear. **Is it… possible that by the time the jar gets executed, my browser has finished processing the… php page and since the jar takes a little bit more time, the… Jar not executing on Mac Programming Software Development by Pazuzu156 …) however Mac is proving a pain. I'm executing a Jar from C++, and as stated above, working on everything but… Mac. I'm using system("java -jar myJar.jar"); I'm using this code for Mac and Linux… for Windows. Any reason Mac would refuse to execute the jar? Here is the error message I get: "Error: Unable… Re: Jar file not opening Programming Software Development by subrat_p When I execute the jar file in cmd as you said like: java -jar MyJar.jar Failed to load Main-Class manifest attribute from… MyJar.jar And when I simply double… clicked on the particular jar file its give a error sound and nothing happened.I… Re: Jar/JFrame Programming Software Development by turt2live … in Eclipse, how would you add that second jar (JarClass) to the class path? How would that… change if the jar can be placed anywhere in the computer (As… the program was started in, so the jar could be in C:\Users\Me\MyProgram or… C:\MyProgram although the jar file will always be in the directory "… Re: jar file not running Programming Software Development by sathya88 during jar creation... use [CODE]jar cfe jarfilename.jar mainname mainname.class[/CODE] in this case no need to include manifest file or edit and add main class to the manifest file(jar working fine) if u want to create jar by use more class files then use [CODE] jar cfe jarfilename.jar mainname *.class[/CODE] Re: jar file and Nokia Suite Programming Software Development by NormR1 … before the Nokia install After the Nokia uninstall the K.jar file does not work My conclusion: The Nokia install changed… OS does not know what to do with the K.jar file. The reason is because Nokia changed the registry entry… that was made when the JRE was installed. Does any jar file work or is it only the K… Re: Jar problem in pictures Programming Software Development by NormR1 Can you put the images, etc in the jar file? Then they would always be at the same location. I use the jar command to add files to a jar file. Re: Jar problem in pictures Programming Software Development by jemz … and it's working and i tried to remove the jar in the folder,and put it on the desktop when… i clicked the jar file the image is there....lastly is it necessary to… put all the classes in making the jar like this GuiStudent$DisplayButton.class,GuiStudent$ClearButton,GuiStudent$ExitButton and… jar running problem in linux build on windows Programming Software Development by regent_royal …to run this application in linux.[/B] The .jar file runs perfectly on windows. but not running …pls. help regent@regent:~/main the law$ java -jar thelaw.jar Exception in thread "main" java.lang.…found in gnu.gcj.runtime.SystemClassLoader{urls=[file:thelaw.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent… Re: jar file problem Programming Software Development by gunjannigam … not find main class program will exit i am setting jar properties file mycomputer->tools->folderoptions->filetypes->… or you or not using the correct command to create jar file. I will suggest to use an IDE like NetBeans… since they can easily create a jar file for you. If you are using a manifest file… .Jar file wont run Programming Software Development by Zhoot … not start once I try to execute the Jar file associated with the program. Platform, Netbeans… when I try to execute via the Jar file generated for this project it will … run at all... When I execute the Jar file the computer takes some time processing only…can explain it futher without sending the jar file as example. I appreciate any help … Re: Jar/JFrame Programming Software Development by NormR1 …the contents of a JFrame to a jar file?[/QUOTE] A jar file contains files. Just about any type… of file can put put in a jar file. In that context, what do you …mean by the above? By putting the jar file on the classpath when running your program, you…can call/use any classes that are in the jar file. For example if there were a class … Re: Jar/JFrame Programming Software Development by NormR1 … zip file. yes, if the JarClass class is in the jar file, that new statement should work, if you have the… to be executable. By executable I assume you mean: java -jar JarFileName.jar would start a program from within the… Re: jar file not opening Programming Software Development by hfx642 Once you have your program working... After to put it into the marks.jar file... You would run it from the command prompt as; java -jar marks.jar