D
D
dieillusion2016-09-30 12:52:26
Java
dieillusion, 2016-09-30 12:52:26

Is there an easy way to create a multi-platform gui application in Java?

Hi friends.
It is required to write a simple utility with a GUI, but so that it runs on both Windows and Linux.

Important conditions:

  • the utility must be executable and does not require installation
  • The JVM was "bundled" and the user did not need to install anything additional


I found this article on Habré , but why are there any third-party libraries and dances with a tambourine when “Write Once, Run Anywhere”. I was deceived? :)

Thanks in advance for any tips.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Alexandrov, 2016-09-30
@jamakasi666

There is such a thing as a regular Native Package called, it collects software with dependencies and runtime in a heap.
“Write Once, Run Anywhere” is not quite as you understand, it means that having written the code once, it can be run without changes / recompilation anywhere where the Java runtime is installed. Those. runtime takes care of all the complexities and subtleties of working with hardware / operating systems / files and provides you, as a programmer, with a single interface for this. Those. the installed runtime is at least needed on the target machine, or it will be a native package build for mac\linux\win platforms.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question