Deploy SWT as EXE

I recently started learning SWT (in Class C # 4, to be precise) due to business requirements, and I have been developing with Swing for 2 years before.

We deployed Swing applications as banks with resource dependencies. In SWT, what are extensible forms and equivalents?

I have questions, but since my training is online, I am on a training course and there is no instructor except StackOverflow:

  • Is it possible to deploy SWT applications as independent EXEs? And what do Eclipse EXE people say? Does this mean that all SWT outputs will be EXE-based Eclipse? Or can they be completely independent EXE?

  • If the answer to question 1 is yes, then how does the compiler create its own win32 executable code? This is one area where I am completely confused. Typically, a deployed jar is served on a virtual machine that reads the manifest and makes its material, but EXE as output? What is really behind the scenes?

  • How are external resources managed? During deployment?

  • Internationalization support?

Thank.

+3
source share
4 answers

SWT Swing native. - exe Swing-; . , " win32". , Java JRE Windows PE.

SWT Eclipse. Eclipse RCP. Java RCP, Eclipse Windows ( - ). , . Eclipse SWT.

RCP , SWT. OSGi, Eclipse. , Eclipse, Eclipse, Windows (, JAR, Eclipse JAR , JRE PE.exe-). ant, . , , .

SWT Swing . , Eclipse, I18N, SWT. , Java.

+8

SWT Eclipse, Eclipse UT SWT. Eclipse SWT- . GUI Eclipse, . Java- SWT-GUI, lib, dll .so. , () Java, Swing, SWT, . .exe, . Eclipse EXE, , eclipse exe, . Eclipse RCP als Eclipse EXE, . Eclipse RCP , SWT . SWT , Eclipse.

, .

+2

You can use the java shell for exe like this http://jsmooth.sourceforge.net/ . Hope this helps.

+2
source

Basically, you need your project to start using the regular java -jar command.

Then create an exe boot program that runs the command when you double-click on it.

Additional things can be done, for example, when checking for JVM versions inside an exe program.

0
source

Source: https://habr.com/ru/post/1538537/


All Articles