File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[ASE15] The file x contained in the jar does not represent a valid Java class file

 
robert polidort
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Using instjava to push java classes to server side (sybase
ASE 15) in order to use sqlj, I've got the following error
whatever the jar I use even the one provided in sample
(http://www.sypron.nl/udf_prt.html).

<<
The file 'xxxx.class' contained in the jar does not
represent a valid Java class file
>>

C:\>instjava -f c:\DateTimeFormat.jar -U sa
Password:
Server Message: PC - Msg 10795, Level 16, State 1:
The file 'DateTimeFormat.class' contained in the jar does
not represent a valid Java class file.


Have you got any clues to resolve this problem ?

I've tried the compilation with jdk 1.6 & jdk 1.4 without
any better results.

Regards,
Blured.

---
Bonjour,

En utilisant instjava pour pousser des classes java du
côté du serveur Sybase 15 afin de faire du SQLJ,
j'obtiens l'erreur suivante quelque soit le jar que
j'utilise même celui livré en exemple
(http://www.sypron.nl/udf_prt.html).

<<
The file 'xxxx.class' contained in the jar does not
represent a valid Java class file
>>

C:\>instjava -f c:\DateTimeFormat.jar -U sa
Password:
Server Message: PC - Msg 10795, Level 16, State 1:
The file 'DateTimeFormat.class' contained in the jar does
not represent a valid Java class file.

J'ai l'impression que le SQL/J n'est pas beaucoup utilisé.
Les forums ne fourmillent pas d'informations sur son
utilisation.

Auriez-vous une piste ?

J'ai essayé de compiler ma classe en 1.6 et en 1.4 sans
noté de différence quand au message.

Merci d'avance.
Blured.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic