Posted February 04, 2020

mk47at
There's only one Phil Taylor…
Registered: Jan 2011
From Germany

HeresMyAccount
New User
Registered: Oct 2014
From Other
Posted February 04, 2020

zenstar
dreams of ghosts
Registered: Dec 2013
From United Kingdom
Posted February 04, 2020
isn't .net core meant to be cross platform?

brouer
New Mouser
Registered: Nov 2015
From Denmark
Posted February 04, 2020
Between Windows and Linux, Java + Swing are truly cross platform. AFAIK, the same goes for JavaFX, but I've no first hand experience.
I do recall there being something about Apple shipping some incompatible (or was it just older?) version. I don't recall the details, as OSX never held any interest for me. If Amazon make a version of Corretto for OSX, you could use that.
The recent licensing issues Oracle have caused, I can't advise you on. Google it.
HeresMyAccount: But there are all kinds of obfuscations that can be done, though they can't be done to source code, very well, anyway. True. But if this is a really important issue for you, I wouldn't count on it.
Not for GUI apps. Yet...
I do recall there being something about Apple shipping some incompatible (or was it just older?) version. I don't recall the details, as OSX never held any interest for me. If Amazon make a version of Corretto for OSX, you could use that.
The recent licensing issues Oracle have caused, I can't advise you on. Google it.

Not for GUI apps. Yet...
Post edited February 04, 2020 by brouer

nightcraw1er.488
#FCKGalaxy
Registered: Apr 2012
From United Kingdom
Posted February 04, 2020


End of the day JavaScript is one of the biggest languages out there, and electron may be bloated (and no one likes using google anything), but it would work.
Also we know nothing about the project other than the list of requirements. Could be a simple front end in js, backend services on a server (although it’s already been pointed out that we can’t use the internet, can’t connect to the internet, can’t use installers which require the internet etc. Just look up the other threads in the chains.

HeresMyAccount
New User
Registered: Oct 2014
From Other
Posted February 05, 2020

End of the day JavaScript is one of the biggest languages out there, and electron may be bloated (and no one likes using google anything), but it would work.
Also we know nothing about the project other than the list of requirements. Could be a simple front end in js, backend services on a server (although it’s already been pointed out that we can’t use the internet, can’t connect to the internet, can’t use installers which require the internet etc. Just look up the other threads in the chains.
Also, it's not that the language/IDE can't have an online installer - it can but I'd like to ideally avoid that, but if I need to use one then I will. What it can NOT have is a requirement to remain online while I'm using it for development.

vv221
./play.it developer
Registered: Dec 2012
From France
Posted February 05, 2020
You *really* need to learn what open source means. Because you won’t be able to find a programming language that both fits your demands and is not open source.

blotunga
GrumpyOldGamers.CyringOutMiserably
Registered: Apr 2012
From Other
Posted February 05, 2020

Otherwise, my recommendation would be python + tkinter. Easy to code, easy to run, very portable.


hummer010
Crazy Penguin
Registered: Dec 2012
From Canada
Posted February 05, 2020

Otherwise, my recommendation would be python + tkinter. Easy to code, easy to run, very portable.

For a gui application, I would say that python+tkinter is more portable - tkinter is part of the base install on all OS's.

Rixasha
Mangeon Duster
Registered: Jul 2012
From Finland
Posted February 05, 2020
I can't be bothered to fully read it or consider what it might mean for you, but the The yellow box at the download page looks potentially alarming. I thought it didn't, but my information may be outdated. Need to set up a third-party runtime environment instead of just running native software. It comes from a vendor that slaps an unfriendly-looking license on it. You probably can't distribute the Oracle JRE with your application unless you pay Oracle for the privilege.
Not even sure if you can distribute OpenJDK with your application, unless your license is compatible with the GPL.
Not even sure if you can distribute OpenJDK with your application, unless your license is compatible with the GPL.

brouer
New Mouser
Registered: Nov 2015
From Denmark
Posted February 05, 2020
Oracle decided to unbundle JavaFX from the JDK, so newer versions won't include it.
But it's trivial to include it, along with other dependencies, when distributing your own Jar.
So the unbundling itself is no reason to dismiss JavaFX.
Just to muddy the waters a bit more: There's also Google's Go language.
You can build totally self contained executables with it. Including cross compiling for the three major platforms.
Like. NET Core, it doesn't come with an official GUI framework out of the box, but there are options.
Packt Publishing have a book called "Hands-on GUI Application Development in Go" that describes those options in fair detail and shows how to use them (including how to build for Mac on a Windows PC).
But it's trivial to include it, along with other dependencies, when distributing your own Jar.
So the unbundling itself is no reason to dismiss JavaFX.
Just to muddy the waters a bit more: There's also Google's Go language.
You can build totally self contained executables with it. Including cross compiling for the three major platforms.
Like. NET Core, it doesn't come with an official GUI framework out of the box, but there are options.
Packt Publishing have a book called "Hands-on GUI Application Development in Go" that describes those options in fair detail and shows how to use them (including how to build for Mac on a Windows PC).

nightcraw1er.488
#FCKGalaxy
Registered: Apr 2012
From United Kingdom
Posted February 05, 2020

But it's trivial to include it, along with other dependencies, when distributing your own Jar.
So the unbundling itself is no reason to dismiss JavaFX.
Just to muddy the waters a bit more: There's also Google's Go language.
You can build totally self contained executables with it. Including cross compiling for the three major platforms.
Like. NET Core, it doesn't come with an official GUI framework out of the box, but there are options.
Packt Publishing have a book called "Hands-on GUI Application Development in Go" that describes those options in fair detail and shows how to use them (including how to build for Mac on a Windows PC).

HeresMyAccount
New User
Registered: Oct 2014
From Other
Posted February 05, 2020





Not even sure if you can distribute OpenJDK with your application, unless your license is compatible with the GPL.
EDIT: Actually, I just read how they define "personal use" and it's anything that isn't used for the purpose of any business or to make money, and since I'm not doing that, the license should apply to me with no problem.
Post edited February 05, 2020 by HeresMyAccount

brouer
New Mouser
Registered: Nov 2015
From Denmark
Posted February 06, 2020



vv221
./play.it developer
Registered: Dec 2012
From France