Browse Source

Raise minimum supported Java version to 7

Changes to keyboard handling require methods from the KeyEvent
class that were not introduced until Java 7.
tags/v1.8.90
Brian P. Hinz 6 years ago
parent
commit
bce950b70a
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      BUILDING.txt
  2. 1
    1
      java/CMakeLists.txt

+ 1
- 0
BUILDING.txt View File

@@ -57,7 +57,7 @@ Build Requirements (Windows)
Build Requirements (Java)
=========================

-- Sun/Oracle JDK 1.7 or later or OpenJDK 7 or later

-- See "Building Java Support" below.


+ 1
- 1
java/CMakeLists.txt View File

@@ -9,7 +9,7 @@ find_package(Java)

set(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share")

set(DEFAULT_JAVACFLAGS "-source 1.6 -target 1.6 -Xlint:all,-serial,-cast,-unchecked,-fallthrough,-dep-ann,-deprecation,-rawtypes")
set(DEFAULT_JAVACFLAGS "-source 7 -target 7 -Xlint:all,-serial,-cast,-unchecked,-fallthrough,-dep-ann,-deprecation,-rawtypes")
set(JAVACFLAGS ${DEFAULT_JAVACFLAGS} CACHE STRING
"Java compiler flags (Default: ${DEFAULT_JAVACFLAGS})")
message(STATUS "Java compiler flags = ${JAVACFLAGS}")

Loading…
Cancel
Save