JRE version problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thesti
    New Member
    • Nov 2007
    • 144

    JRE version problem

    hello,

    i've made a java program by using jdk6-update7 (eclipse as the IDE). then i bring the eclipse project to another computer which only has a jre5.1, when i run test to run the program, the JFrame shows nothing, there should be some images and a JMenubar. (the components inside appear at last, but after i maximize the JFrame first)

    my goal is to run the program with jdk1.6 (jre6). will there be problems running class compiled in jdk6-u7 with jre1.6? or should i recompile the java files (in eclipse, how to do this?) with jdk1.6 ?

    Thank you very much.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Java 1.6 is Java 1.6; the update doesn't matter; later updates only have less or
    newer bugs. If you want a lower version compliancy with Eclipse go to:

    Project>Propert ies>Java Compile

    enable 'project specifc settings' and select your version.

    kind regards,

    Jos

    Comment

    Working...