Normally I run jar files creatd with b4j without any problem on vps but this time, altough it is working good on my own computer, when I try to run on vps I get this errors:
nohup: ignoring input
Error: Unable to initialize main class b4j.example.main
Caused by: java.lang.NoClassDefFoundError: anywheresoftware/b4a/BA
your missing project maybe? How should we answer your question with the ZERO information you provided?
What java version is installed on the VPS? How are you starting your applocation?
I don't think any other info is needed for this problem. default jre is installed on ubuntu 18 as always. I have compiled the app as jar and using nohup to run it. You don't have to be sarcastic while answering in most of the cases on this forum. Don't answer if you don't like to answer or if you don't like the way question asked.
I don't think there is a problem within the code itself as it compiles and runs on my own computer. It is a simple webserver app. The error I am getting from the logs indicates a different problem. I couldn't find this error in any messages on this forum also.
your missing project maybe? How should we answer your question with the ZERO information you provided?
What java version is installed on the VPS? How are you starting your applocation?
ou don't have to be sarcastic while answering in most of the cases on this forum. Don't answer if you don't like to answer or if you don't like the way question asked.
Try to run the app with java -jar your-app.jar and give us the full error. More over I think default jre on Ubuntu 18 is java 8 jre. You may be compiling with higher versions.
Try to run the app with java -jar your-app.jar and give us the full error. More over I think default jre on Ubuntu 18 is java 8 jre. You may be compiling with higher versions.
Jssh Library does not work with merge libraries true unfortunately as developer also stated. Ubuntu 18 has jdk 11 as default. I never had any problems running my other b4j compiled jar files on ubuntu.