#1635 closed task (fixed)
Test BASE with Java 7
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.0 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
It has been a couple of months since Java 7 was released. I think we should test if BASE works and if not, see if we can fix any problems.
Change History (5)
comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Using BASE compiled with Java 1.6 seems to be working fine with Java 1.7. I have tested installation, TestAll
and that Tomcat can be started and that it is possible to login and the CompileAll
servlet.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [5838]) Fixes #1635: Test BASE with Java 7
BASE itself seems to be working just fine. Compilation with Java 7 needs to set the 'javac.bootclasspath' to point to a JRE 6 installation. The recommended approach is to create build.properties
and set the value in that file. Eg.
javac.bootclasspath /path/to/jdk-6/jre
comment:5 by , 13 years ago
Milestone: | BASE 3.1 → BASE 3.0 |
---|
Compiling with 1.7 generates a warning:
This is because the compiler can't really check if we are using any 1.7-only features unless we specify the path to a 1.6 class library.
Installation and
TestAll
complete without any errors. Tomcat can be started and seems to working as expected. This is with BASE compiled against Java 1.7.