| RSS

< Browse > Home/, /Blog Article: How to Run Java .jar File in Ubuntu

How to Run Java .jar File in Ubuntu

Saturday, May 29, 2010 | No Comments | Posted in ,

Java logoImage via Wikipedia

You can run a .jar file by typing this command:

java -jar java_jar_file.jar

Common mistake is typing the command line without -jar option which produces something like:


MissingFieldException[ The following required field is missing from the launch file: ]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Reblog this post [with Zemanta]

0 Responses to "How to Run Java .jar File in Ubuntu"

Leave a Reply