This site requires JavaScript, please enable it in your browser!
Greenfoot back
Jim_Clark
Jim_Clark wrote ...

2012/2/28

compatibility of Greenfoot with browser

Jim_Clark Jim_Clark

2012/2/28

#
Can I download and install Greenfoot without changing the Java version that my browser uses? My Windows 7 has this installed: C:\Windows\System32>java -version java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode) But the documentation here says: "Greenfoot requires the Java 6 or Java 7 JDK. Note that you need the version marked JDK; not JRE, Netbeans or Java EE." So can Greenfoot use a different version of Java than the browser?
davmac davmac

2012/2/28

#
Sure it can. But bear in mind that Java version '1.6.0_14' corresponds to JDK 6. As confusing as this might seem, in the Java world, "1.6.0" and "Java 6" are the same thing. Also, there's no reason why you shouldn't upgrade the version of Java on your system anyway - i.e. remove 1.6.0_14 (which is quite old now) and replace it with either 1.6.0_31 (aka "Java SE 6 update 31", aka "Java 6") or with 1.7.0_03 (aka "Java SE 7u3", aka "Java 7"). Your browser will use the newer version automatically once you've installed it.
You need to login to post a reply.