angelelectrico / java-diff-utils

Automatically exported from code.google.com/p/java-diff-utils
0 stars 0 forks source link

Cannot open JAR "diffutils-1.2.1.jar" #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open JAR "diffutils-1.2.1.jar".

What is the expected output? What do you see instead?

>java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

>java -jar diffutils-1.2.1.jar
Exception in thread "main" java.lang.NullPointerException
        at sun.launcher.LauncherHelper.getMainClassFromJar(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

>

---------------------------
Java Virtual Machine Launcher
---------------------------
A Java Exception has occurred.
---------------------------
OK   
---------------------------

What version of the product are you using? On what operating system?
JRE 7. Windows Vista x64.

Please provide any additional information below.

Original issue reported on code.google.com by dawpa2...@gmail.com on 5 Sep 2011 at 7:12

GoogleCodeExporter commented 8 years ago
diffutils is not a standalone program. There is no Main class with main() 
method.

Original comment by dm.naume...@gmail.com on 9 Jun 2012 at 2:25