I created a Java class from Eclipse and need to deploy it to another machine.
I tried creating a simple batch file to run it like this:
cmd /c java bliffo
However, I get
Exception in thread "main" java.lang.NoClassDefFoundE
rror: bliffo (wrong name: BliffoscopeDataAnalysis/bl
I tried adding JAVA_HOME and PATH and CLASSPATH in various ways but keep getting the same error.
What should my batch file look like (and remember that I have to deploy on someone else's machine with unknown settings, but I'll assume that a jre is installed somewhere on it, such as mine: C:\Program Files\Java\jdk1.7.0_21