I can run this properly locally but not on the server.
I don't know exactly how to explain my problem clear in a brief manner so instead I just listed all the steps
I went through below. Sorry that it's a bit long to read.
I'd be very grateful for any advice. Thanks!
Firstly, on my local computer:
1) I compiled the "Mini Template for absolute beginners" in release mode on B4J v8.3.0
2) I then copied the Objects folder from the Template folder of my ABMaterial folder and put it in a folder called C:\Test
3) I killed any Java process that was running (in case this app already running after compilation in release mode(?)
4) Then I ran this instruction on the command line
C:\Java\jdk-11.0.1\bin\java -jar C:\Test\Objects\Template.jar (OpenJDK 11 is in folder C:\Java)
5) I visited "http://localhost:51042/template" in the browser and the app was working properly
Then on the VPS:
On my Windows VPS I also have OpenJDK 11 in folder C:\Java. I visit the VPS using Windows RDP.
6) I uploaded the Objects folder to my Windows VPS and put it in folder C:\Test
7) I ran the same instruction on the command line there C:\Java\jdk-11.0.1\bin\java -jar C:\Test\Objects\Template.jar
8) But on the VPS when I visit "http://localhost:51042/template" in the browser I get just the circles you see in this app when it's loading.
I don't know exactly how to explain my problem clear in a brief manner so instead I just listed all the steps
I went through below. Sorry that it's a bit long to read.
I'd be very grateful for any advice. Thanks!
Firstly, on my local computer:
1) I compiled the "Mini Template for absolute beginners" in release mode on B4J v8.3.0
2) I then copied the Objects folder from the Template folder of my ABMaterial folder and put it in a folder called C:\Test
3) I killed any Java process that was running (in case this app already running after compilation in release mode(?)
4) Then I ran this instruction on the command line
C:\Java\jdk-11.0.1\bin\java -jar C:\Test\Objects\Template.jar (OpenJDK 11 is in folder C:\Java)
5) I visited "http://localhost:51042/template" in the browser and the app was working properly
Then on the VPS:
On my Windows VPS I also have OpenJDK 11 in folder C:\Java. I visit the VPS using Windows RDP.
6) I uploaded the Objects folder to my Windows VPS and put it in folder C:\Test
7) I ran the same instruction on the command line there C:\Java\jdk-11.0.1\bin\java -jar C:\Test\Objects\Template.jar
8) But on the VPS when I visit "http://localhost:51042/template" in the browser I get just the circles you see in this app when it's loading.