Linked Questions

6 votes
5 answers
21k views

I have a situation where the deployment platform is Java 5 and the development happens with Eclipse under Java 6 where we have established a procedure of having a new workspace created when beginning ...
344 votes
5 answers
389k views

Possible Duplicate: Tool to read and display Java .class versions I'm trying to debug a "Bad version number in .class file' error in java, is there a way for me to check which version the ....
Charles Ma's user avatar
  • 49.6k
3 votes
2 answers
8k views

I'm having trouble to migrate from an oracle db web-app context to a postgresql db web-app context. I'm having a simple java spring-mvc web-app with flyway to init the database process and hibernate ...
4 votes
2 answers
3k views

I'm trying to find out how I can determine the version of a .class file by looking at its binary data. I know that using javap will tell me the version - but unfortunately I don't always have a JDK ...
RonK's user avatar
  • 9,672
3 votes
2 answers
1k views

I want to load a Java version specific JavaCompiler. This is how I take compiler instance currently: JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); My aim is to compile a "user Java ...
0 votes
1 answer
713 views

I have a class file, is it possible to check what version of the JDK it was compiled in? The class file a servlet and it's being execute in a JSP page. In the JSP page, can I do a response.write of ...
firebird's user avatar
  • 3,521
1 vote
2 answers
141 views

Can I inspect java code and determine what runtime it will be able to run on? For instance I want to make sure all applications in our environment are using Sun SE6 and JDK 1.6.
Brig's user avatar
  • 10.3k
1 vote
2 answers
353 views

I have an older applet I built. It naturally will not run in the browsers today. Is there a way to find out what version of Java it was compiled in. Also, what version of Java can i use so that my ...
Jacque's user avatar
  • 53
1 vote
1 answer
307 views

When I programme I don't take care if I'm using the features in Java 7 or Java 5. But as far as I think if I use only Java 5 features my complied byte codes should be run also on a JRE version 5. But ...
Johnny's user avatar
  • 1,579
0 votes
1 answer
70 views

I have a .jar file from 2008 for a work project which I must edit and then repack into a .jar. I'm importing the .jar into Eclipse in order to make modifications but the classes use code such as "new ...