|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
How to run a jar file I created a small jar file called HelloWorld using Matlab Java Builder tool. But although creating the jar file so good, I could not run it. What is the exact command to use? On internet, it said to use this: Code: % java -classpath D:\Matlab\toolbox\javabuilder\jar\javabuilder.jar;hello.jar examples.hello It gave me the error as: Quote:
Quote:
|
#2
| |||
| |||
Re: How to run a jar file Try the following from MS-DOS console: Code: java-jar hello. jar |
#3
| |||
| |||
Re: How to run a jar file Thank you for your response, DOS returns an error of Manifest: Code: Failed to load Main-Class manifest attribute from hello. jar Code: Manifest-Version: 1.0 Created-By: 1.6.0_16 (Sun Microsystems Inc.) |
#4
| |||
| |||
Re: How to run a jar file you can extract the contents of your file with the command hello.jar Code: jar xvf hello.jar Code: Manifest-Version: 1.0 Main-Class: Hello Class-Path: ./ |
![]() |
|
Tags: jar, launch, matlab java builder |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I convert LaTeX file to OpenOffice .odt file and MS Word .doc file? | Charu Sharma | Windows Software | 4 | 04-04-2012 01:12 AM |
I cannot file ?Confirm open after Download" checkbox for file types in Windows 7 | Dalapathi | Operating Systems | 4 | 07-02-2011 10:19 AM |
Dead space 2 error while installation "Source file not found: (file destination)...Verify that file exists | Ucchal | Video Games | 3 | 28-01-2011 06:26 AM |
How to setup File Replication Service and Distributed File System in Windows 2003 | Computer_Freak | Tips & Tweaks | 1 | 17-07-2009 07:09 PM |
How can i make .cab file and would like to add file to an existing cab file | Kamran | Operating Systems | 3 | 16-07-2009 01:29 PM |