Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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 Changed 8 years ago by Joop

  • Owner Joop deleted
  • Status changed from new to assigned

comment:2 Changed 8 years ago by Joop

  • Owner set to new

comment:3 Changed 8 years ago by dmik

  • Resolution set to invalid
  • Status changed from assigned to closed

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.

comment:4 Changed 8 years ago by Joop

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 Changed 8 years ago by Joop

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.

Note: See TracTickets for help on using tickets.