B4X FEED [SOLVED] Do I have to B4JPackager on jar files on my dev machine to be able to run them with "java -jar" on my dev machine?

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [SOLVED] Do I have to B4JPackager on jar files on my dev machine to be able to run them with \"java -jar\" on my dev machine? است. این موضوع تا کنون 41 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [SOLVED] Do I have to B4JPackager on jar files on my dev machine to be able to run them with \"java -jar\" on my dev machine?
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
41
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi there

1. I have jdk 11

برای دیدن تصاویر باید ثبت نام کنید


2. I then build my app with B4JBuilder - output good and I have a jar.

3. Now I need to test the app, however run it from the command line, so I fire this command from the objects folder where the jar file is.

B4X:

C:\jdk-11.0.1\bin\java.exe -jar C:\app1\B4J\Objects\Code.jar

4. This is the output I'm getting..


B4X:

Error: JavaFX runtime components are missing, and are required to run this application

So Id like to find out whether I need to first run the package manager on the jar before I can test on my dev machine or I missed something?

If I have to use the package manager, can it be done via the command line?

Thanks in advance.

 

عقب
بالا