I'm trying to make changes to a major old project with latest version B4j and Java!
Receive the following error message:
Using Windows 10 Pro
_____________________________________________________________________
If I use Java 11, it can not compile the entire project in debug or release mode!
Get the following error:
B4J Version: 8.50
Java Version: 11
Parsing code. (0.32s)
Building folders structure. (0.10s)
Compiling code. (0.65s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
B4J line: 1053
cvs.DrawBitmapRotated(bmp, cvs.TargetRect, Degr
src\GISIQON\EasyMedia\webutils.java:1231: error: package javafx.scene.image does not exist
_cvs.DrawBitmapRotated((javafx.scene.image.Image)(_bmp.getObject()),_cvs.getTargetRect(),_degrees);
____________________________________________________________________
If I use Java 8 I can't compile the project in Debug mode!
Receives the following message:
Waiting for debugger to connect...
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)
at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98)
at GISIQON.EasyMedia.main.<clinit>(main.java:17)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at java.io.DataInputStream.readByte(DataInputStream.java:265)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:229)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
... 2 more
Exception in thread "main"
__________________________________________________________________________
If I use Java 8, I can compile the project in Release mode!
And the project work satisfactorily
Receives the following message:
B4J Version: 8.50
Java Version: 8
Parsing code. (0.27s)
Building folders structure. (0.03s)
Compiling code. (0.48s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Compiling generated Java code. (2.11s)
Building jar file. (2.84s)
Jar file created: C:\D\program\B4j\Server\ABMServer\EasyMedia\Objects\EasyMediaStart.jar
Run application. (0.01s)
Compiled Successfully
_________________________________________________________________________________
Other things that happen frequently that cause the restart of the operating system!
B4J Version: 8.50
Java Version: 11
Parsing code. (0.27s)
Building folders structure. Error
The process cannot access the file C:\D\program\B4j\Server\ABMServer\EasyMedia\Objects\EasyMediaStart.because it is used in another process.
Receive the following error message:
Using Windows 10 Pro
_____________________________________________________________________
If I use Java 11, it can not compile the entire project in debug or release mode!
Get the following error:
B4J Version: 8.50
Java Version: 11
Parsing code. (0.32s)
Building folders structure. (0.10s)
Compiling code. (0.65s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
B4J line: 1053
cvs.DrawBitmapRotated(bmp, cvs.TargetRect, Degr
src\GISIQON\EasyMedia\webutils.java:1231: error: package javafx.scene.image does not exist
_cvs.DrawBitmapRotated((javafx.scene.image.Image)(_bmp.getObject()),_cvs.getTargetRect(),_degrees);
____________________________________________________________________
If I use Java 8 I can't compile the project in Debug mode!
Receives the following message:
Waiting for debugger to connect...
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)
at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98)
at GISIQON.EasyMedia.main.<clinit>(main.java:17)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at java.io.DataInputStream.readByte(DataInputStream.java:265)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:229)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
... 2 more
Exception in thread "main"
__________________________________________________________________________
If I use Java 8, I can compile the project in Release mode!
And the project work satisfactorily
Receives the following message:
B4J Version: 8.50
Java Version: 8
Parsing code. (0.27s)
Building folders structure. (0.03s)
Compiling code. (0.48s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Compiling generated Java code. (2.11s)
Building jar file. (2.84s)
Jar file created: C:\D\program\B4j\Server\ABMServer\EasyMedia\Objects\EasyMediaStart.jar
Run application. (0.01s)
Compiled Successfully
_________________________________________________________________________________
Other things that happen frequently that cause the restart of the operating system!
B4J Version: 8.50
Java Version: 11
Parsing code. (0.27s)
Building folders structure. Error
The process cannot access the file C:\D\program\B4j\Server\ABMServer\EasyMedia\Objects\EasyMediaStart.because it is used in another process.