Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java - any ways to create standalone GUI apps for PC/Mac?

I'm interested are there any ways to create completely standalone desktop apps on JAVA? I mean to pack JAVA runtimes in distribution package, build apps for MAC/PC running *.jar files and get completely cross-platform software not depending on JAVA installed on target machine?

like image 976
f1nn Avatar asked Jul 18 '12 11:07

f1nn


People also ask

Can you build desktop apps with Java?

As mentioned, Java can be used to create desktop applications. These applications can have attractive interfaces and designs, they can store and retrieve data from a database, and much more. For desktop application development, you can use Java Frameworks to build Graphical User Interfaces (GUI).

Can you make macOS apps on Java?

Yes, you can build iOS apps without Xcode using Codename One, an open-source cross-platform framework for building native apps with Java/Kotlin. Do I need a Mac to develop iOS apps? No, with Codename One, you can develop and distribute iOS apps without a Mac, macOS or Xcode.

Can Java build GUI?

The Java language provides a set of user interface components from which GUI forms can be built.


1 Answers

This is plainly not possible. You would need at least one executable wich would start on any platform you support to start setup/configuration. You may though use different wrappers for the specific OS to simplify installation of runtimes

like image 194
Daniel Leschkowski Avatar answered Oct 22 '22 13:10

Daniel Leschkowski