File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<project name =" kmttg" basedir =" ." default =" all" >
3- <property name =" rversion" value =" v2.9.2 -l" />
3+ <property name =" rversion" value =" v2.9.3 -l" />
44 <tstamp />
55 <property name =" bversion" value =" ${ DSTAMP } -${ TSTAMP } " />
66 <property name =" lib" value =" lib" />
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ public static boolean checkForJavaFX() {
2121 Color c = javafx .scene .paint .Color .BLUE ;
2222 } catch (NoClassDefFoundError e ) {
2323 try {
24+ int majorVersion = getJreMajorVersion ();
25+ if (majorVersion < 11 ) {
26+ JOptionPane .showMessageDialog (null , "Your JRE is missing javafx. KMTTG can auto download javafx for JRE 11+ however you ar running a older version." );
27+ }
28+
2429 final File currentJar = new File (
2530 JavaFX .class .getProtectionDomain ().getCodeSource ().getLocation ().toURI ());
2631 String javaFXPath = findJavaFXLib (currentJar );
Original file line number Diff line number Diff line change 4242import com .tivo .kmttg .httpserver .kmttgServer ;
4343
4444public class config {
45- public static String kmttg = "kmttg v2.9.2 -l" ;
45+ public static String kmttg = "kmttg v2.9.3 -l" ;
4646
4747 // encoding related
4848 public static String encProfDir = "" ;
You can’t perform that action at this time.
0 commit comments