How can I change java version on local linux server -
i built netbeans web project java 1.5 successfully, however; linux server supports / uses java 1.4 , java 1.5 (as jboss 4.0.2).
when check version of project ( java -version ) says current version java 1.4.2. however, don't want change "java_home" setting on server because other projects need use version.
i want project use java 1.5 server... idea how should go doing this? there configuration can change?
i have error:
java.lang.unsoupportedclassversionerror: bad version in .class file
Comments
Post a Comment