aspose file tools*
The moose likes JDBC and the fly likes [ASE15] The file x contained in the jar does not represent a valid Java class file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "[ASE15] The file x contained in the jar does not represent a valid Java class file " Watch "[ASE15] The file x contained in the jar does not represent a valid Java class file " New topic
Author

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

robert polidort
Greenhorn

Joined: Apr 09, 2010
Posts: 11
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.
 
 
subject: [ASE15] The file x contained in the jar does not represent a valid Java class file