Deploy Java App on Windows and Linux [message #1826088] |
Sun, 19 April 2020 00:00  |
Eclipse User |
|
|
|
Well, super. I've got an Window Builder / SWT app going on Eclipse. It does a lot of what I need it to do. So time to test if I can get it running - without Eclipse - on Windows 10 and Linux Mint.
All the google searches that I can think of on this topic talk about either something about "Web..." or talk about installing Eclipse itself - presumably to write code.
But what I need is how to package my app, and it's dependencies, with some sort of launcher so it will run where Java SE [Right? That's the Term? Standard Edition?] is installed.
I'm sure the docs are deep and long for how to do this, but my google searches turn up nada, probably because I've preloaded google search with so many programming searches that it can't imagine that I might be asking for something else.
Anyway, pointers anyone?
Thanks a ton. Can't wait to get this thing "Deployed".
|
|
|
|
|
|
|
|
|
Re: On Linux Mint, not so much [message #1826120 is a reply to message #1826103] |
Sun, 19 April 2020 17:01  |
Eclipse User |
|
|
|
The fun never stops.
After trying to install
jdk-14.0.1_linux-x64_bin.tar.gz on Linux Mint 19.3
It came up with a white box with <OK> and the license agreement.
There is no way to click or ENTER or anything to dismiss this. At least that I could find. So CTRL/C as a final resort. and FAIL big time.
The software dpg or something was hosed, the system would not reboot. Finally by trying to install other packages dpkg or apt get or something was helpful with a command to clear some cache or other, but it still won't work. I can now reboot, but software UPDATE is hosed and there is no way to reinstall [due to OK error] or remove the package that was partially installed.
So I have to get stuff out of this VM and then trash it. AND build a whole new VM to try again this time with
openjdk-14+36_linux-x64_bin.tar.gz
I guess. Maybe it won't have the same final ACCEPT THE BLOODY license screen with the "OK THAT SHALL NOT BE PRESSED".
But looks like the java jar problem is solved.
Oh, and yes, I saw AWT and SWT both mentioned in the panels and I'm pretty sure I mixed them, but not sure.
Anyway, my original error was picking the "Latest Stable Release" of java for my Windows 10 Eclipse Install, so now I'm stuck with Java 14 unless I downgrade that system to Java 11 and then rebuild. Hummmm ?? Does latest eclipse run on Java 11? Not sure. Anyway, I'll try the Open version above on Linux first and see if that installs.
[Updated on: Sun, 19 April 2020 17:05] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.09791 seconds