chudyksg
asked on
Problem running jar file
I am trying to run milk-1-0.jar file from this website. I have jre installed and set my classpath using: set CLASSPATH=C:\Users\chudy\D esktop\Wor k\wekafile s\milk\mil k-1-0.jar . When I am trying to run the file from a command line using java milk.classifiers.DD -t data.arff according to this file http://www.cs.waikato.ac.nz/~ml/milk/README I am getting following error message:
Exception in thread "main" java.lang.NoClassDefFoundE rror: milk/classifiers/DD
Caused by: java.lang.ClassNotFoundExc eption: milk.classifiers.DD
at java.net.URLClassLoader$1. run(Unknow n Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
at java.net.URLClassLoader.fi ndClass(Un known Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at sun.misc.Launcher$AppClass Loader.loa dClass(Unk nown Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
Could not find the main class: milk.classifiers.DD. Program will exit.
How to run it?
Exception in thread "main" java.lang.NoClassDefFoundE
Caused by: java.lang.ClassNotFoundExc
at java.net.URLClassLoader$1.
at java.security.AccessContro
at java.net.URLClassLoader.fi
at java.lang.ClassLoader.load
at sun.misc.Launcher$AppClass
at java.lang.ClassLoader.load
Could not find the main class: milk.classifiers.DD. Program will exit.
How to run it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I try to run it but nothing is happening. It just creates and empty txt file
How are you trying to run it?
If you run the app without arguments, it will tell you what arguments you need
I explained the problem clearly. The software runs for me
Accept http:#35046365 please
:)
Open in new window