• 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
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

error after installing java 1.4

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have a problem.
I just have installed java sdk1.4.0 for windows and when I want to run my application I have this error:
Error: (0) initialization error: class Error const *: class file has wrong version 48.0, should be 45.3 or 46.0.
and nothing else. It's a new error because I didn't have this one under 1.2.
Can you help me please ?
Thanks.
(sorry for my language)
 
Author
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have not come across this error before but it sounds as though a previous installation of the Java runtime is getting muddled up with the new. The message seems to relate to a C++ class rather than a Java class so it occurs during loading of the JRE and not your application.
I suggest you uninstall SDK 1.4 and reinstall it again. Make sure you install it in a separate directory from any previous versions of the SDK that you have. Also ensure that you have the path to the bin directory for the SDK defined in your PATH, and that you remove any paths to other versions of the SDK that you have installed.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using JBuilder 5?

http://radweb.borland.com/codecentral/ccweb.exe/listing?id=16881

There is a 'hack' that someone reported would work, but it involved writing a script to go through all the class files and change the version number to something that Borland's compiler would like. This is probably against someone's license, and besides that, this 'fix' would not give you asserts keyword support.
 
Gizzmo Zeuzere
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks I will try
 
reply
    Bookmark Topic Watch Topic
  • New Topic