#109 closed defect (invalid)
Exif-O-Matic version 1.2 doesn't work
Reported by: | Joop | Owned by: | new |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | general | Version: | 1.6.0-b22 WSE |
Severity: | medium | Keywords: | |
Cc: |
Description
Exif-O-Matic version 1.2 does not work, it ends with this
[I:\dtp\eom]eom-j160.cmd
Exception in thread "main" java.lang.NoClassDefFoundError: org/instituteofthefut
ure/exif/ExifOMatic
Caused by: java.lang.ClassNotFoundException: org.instituteofthefuture.exif.ExifO
Matic
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.instituteofthefuture.exif.ExifOMatic. Program
will exit.
The contents of eom-j160.cmd is;
@echo off
set pad=%path%
set path=i:\JAVA\JAVA160\bin;%pad%
set BEGINLIBPATH=i:\JAVA\JAVA160\bin
I:
cd I:\DTP\EOM
java -jar EOM12.jar (the original file is called EOM.jar, but I have also the older version in the same directory)
set path=%pad%
I did use http://www.rahulbotics.com/collateral/EXIF-O-Matic-Windows.zip because its a zip-file. It contains 3 files, a batch for Windows, a readme and the jar file. Throw away the batch, the readme doesn't contain important info we did not already know.
Change History (5)
comment:1 by , 13 years ago
Owner: | removed |
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
Owner: | set to |
---|
comment:3 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
comment:4 by , 13 years ago
No, got this,
Exception in thread "main" java.lang.NoClassDefFoundError: com/rahulbotics/exif/
ExifOMatic
Caused by: java.lang.ClassNotFoundException: com.rahulbotics.exif.ExifOMatic
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: com.rahulbotics.exif.ExifOMatic. Program will exi
t.
Did start the file with this cmd file;
@echo off
set path=i:\JAVA\JAVA160\bin
set BEGINLIBPATH=i:\JAVA\JAVA160\bin
I:
cd I:\DTP\EOM
rem java -jar EOM.jar
java -cp ./EOM.jar com.rahulbotics.exif.ExifOMatic (this is the line in the batch file)
comment:5 by , 13 years ago
Things do go strange sometimes...
Edited the cmd file to this
@echo off
set path=i:\JAVA\JAVA160\bin
set BEGINLIBPATH=i:\JAVA\JAVA160\bin
I:
cd I:\DTP\EOM
java -jar EOM.jar
And this seems to work, ie could open a jpg, could see the exif, could stop the program. Removed "set pad=%path%" and what did go with it.
If you start it as it wants to be started, e.g. by renaming EXIF-O-Matic.bat to EXIF-O-Matic.cmd and starting the resulting .cmd file, it works.