ferdztech Member Licensed User Longtime User Feb 24, 2014 #1 Hi, It's my first time to use B4J. im using version 1.05. but when i try to compile im getting error Parsing code. 0.00 Compiling code. 0.03 Compiling generated Java code. Error javac 1.7.0_01 src\b4j\example\main.java:5: error: package javafx.application does not exist public class main extends javafx.application.Application{ ^ 1 error Attachment included Thanks. Attachments Calculator.zip Calculator.zip 1.7 KB · Views: 447 calculator_error.JPG 157.7 KB · Views: 429
Hi, It's my first time to use B4J. im using version 1.05. but when i try to compile im getting error Parsing code. 0.00 Compiling code. 0.03 Compiling generated Java code. Error javac 1.7.0_01 src\b4j\example\main.java:5: error: package javafx.application does not exist public class main extends javafx.application.Application{ ^ 1 error Attachment included Thanks.
Erel B4X founder Staff member Licensed User Longtime User Feb 24, 2014 #2 Use the latest version of B4J (1.50) You should install a more recent version of Java (1.7.0_06 is the minimum version). Upvote 0
Use the latest version of B4J (1.50) You should install a more recent version of Java (1.7.0_06 is the minimum version).
M mjas Member Licensed User Longtime User Mar 1, 2014 #3 Erel said: Use the latest version of B4J (1.50) You should install a more recent version of Java (1.7.0_06 is the minimum version). Click to expand... hello, i'm trying B4J and installed the latest version (1.50), JavaFX Scene Builder 2.0 and the latest Java version (1.8.0). And compliling the demos for different libraries I have always the same error: src\b4j\example\main.java:5: error: package javafx.application does not exist public class main extends javafx.application.Application{ Click to expand... What am I missing here? Thanks. Upvote 0
Erel said: Use the latest version of B4J (1.50) You should install a more recent version of Java (1.7.0_06 is the minimum version). Click to expand... hello, i'm trying B4J and installed the latest version (1.50), JavaFX Scene Builder 2.0 and the latest Java version (1.8.0). And compliling the demos for different libraries I have always the same error: src\b4j\example\main.java:5: error: package javafx.application does not exist public class main extends javafx.application.Application{ Click to expand... What am I missing here? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Mar 2, 2014 #4 Have you configured the IDE to use the correct Java installation (under Tools - Configure Paths)? Upvote 0
M mjas Member Licensed User Longtime User Mar 3, 2014 #5 Erel said: Have you configured the IDE to use the correct Java installation (under Tools - Configure Paths)? Click to expand... Yes, and thank you for your answer. But my problem was Java 8 SDK. I suspected that when trying the JavaFX Controls samples, always the same error about no skins. I installed Java 7 SDK and now everything is working... But this means that anyone who updates from Java7 to 8 is no more able to use Java FX, at leat these libraries (jFXtrasControls,jar and jFXtrasGauges.jar)? Upvote 0
Erel said: Have you configured the IDE to use the correct Java installation (under Tools - Configure Paths)? Click to expand... Yes, and thank you for your answer. But my problem was Java 8 SDK. I suspected that when trying the JavaFX Controls samples, always the same error about no skins. I installed Java 7 SDK and now everything is working... But this means that anyone who updates from Java7 to 8 is no more able to use Java FX, at leat these libraries (jFXtrasControls,jar and jFXtrasGauges.jar)?
Erel B4X founder Staff member Licensed User Longtime User Mar 4, 2014 #6 Java 8 is still in beta. There might be issues with it. Note that you can install multiple versions of Java on the same computer. Upvote 0
Java 8 is still in beta. There might be issues with it. Note that you can install multiple versions of Java on the same computer.