• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic