Mantis - Cafesterol
Erweiterte Problemanzeige
12 general kleinerer Fehler immer 2008-05-10 14:53 2008-05-10 14:57
xclerc  
xclerc  
normal  
erledigt 1.0beta  
erledigt  
keine    
keine 1.0beta  
0000012: "class not found" error from ocamljava while the class if actually present
[originally reported by Yong Lu]
the ocamljava compiler raises a "class not found" error while the class is actually
present and correct (as compiled by javac).
Problem-Historie
2008-05-10 14:53 xclerc Neues Problem
2008-05-10 14:57 xclerc Status neu => erledigt
2008-05-10 14:57 xclerc Behoben in Version => 1.0beta
2008-05-10 14:57 xclerc Lösung offen => erledigt
2008-05-10 14:57 xclerc Bearbeitung durch => xclerc
2008-05-10 14:57 xclerc Problemnotiz hinzugefügt: 0000008

Notiz
(0000008)
xclerc   
2008-05-10 14:57   
This problem arises when the class has been compiled with a Java 1.6+ compiler.
As a consequence ocamljava (through Barista) cannot load it (it is only 1.5-compilant).

The message written by ocamljava has been modified to be more informative.
The user should use the '-target 1.5' switch of javac to produce ocamljava-compatible class files.