Thread Locked This thread is locked - replies are not allowed.



Permlink Replies: 150 - Pages: 11 [ Previous | 1 2 3 4 5 6 | Next ] - Last Post: 27 Sep 22, 21:55 Last Post By: davidekholm
ctwist

Posts: 476
Registered: 27-Sep-2003
Re: jAlbum on Java 18
Posted: 26 Aug 22, 17:27   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:
But I'm not running into it with the latest beta, either.
Suggestion:
In "Java Control Panel / Java", enable your Java 8 installation, and disable the others.
Now open the jAlbum beta. I suspect that you will crash.
JeffTucker

Posts: 8,117
Registered: 31-Jan-2006
Re: jAlbum on Java 18
Posted: 26 Aug 22, 17:42   in response to: ctwist in response to: ctwist
Attachment ss010309.png (7.8 KB)
That provides me with no options (screenshot). The only Java installation that Windows knows about is the JRE 1.8, and there's only one out there (currently 1.8.0_341). There are no installers for the JDK's - those just get downloaded, unzipped, and planted wherever I choose to plant them. So Windows doesn't even know they're there.

ETA: From the command line:
C:\Users\jefft>java -version
java version "1.8.0_341"
Java(TM) SE Runtime Environment (build 1.8.0_341-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)
davidekholm

Posts: 3,454
Registered: 18-Oct-2002
Re: jAlbum on Java 18
Posted: 26 Aug 22, 17:49   in response to: JeffTucker in response to: JeffTucker
The "java.library.path" is searched by the Java engine when it's looking for native code libraries. On Windows, it's per default set to a copy of the %PATH% variable. I've never had to explicitly set this one as it seems like the installer previously prepended "C:\Program Files\jAlbum\jre64\bin" to the paths, so it's searched first. I don't know why the installer doesn't do so anymore, but now I've configured it so it explicitly sets the java.library.path to "C:\Program Files\jAlbum\jre64\bin" only (naturally depending on where jAlbum is installed).
ctwist

Posts: 476
Registered: 27-Sep-2003
Re: jAlbum on Java 18
Posted: 29 Aug 22, 01:05   in response to: davidekholm in response to: davidekholm
Mirage uses Nashorn to get a Zif file's dimensions.

This works correctly in 28.2 beta.
davidekholm

Posts: 3,454
Registered: 18-Oct-2002
Re: jAlbum on Java 18
Posted: 10 Sep 22, 16:57   in response to: ctwist in response to: ctwist
I now have a new beta version of jAlbum 29 running on Java 18 (ignore that the splash screen says 28.2b4. This one will be called v29)

Changes:
  • Improved album making performance vs v28.1. 50-60% faster making "Sample Project" (Force rebuild)
  • Installers for Apple's M1 architecture and Debian Linux (x86) added. Haven't tested M1 version yet (don't have access to such a computer, so please test it if you own an M1 Mac!
  • Updated HEIC/HEIF readers/writers, better performance and more capable of odd file variants
  • Updated WebP reader/writer
  • Updated JNA library (interfacing with native code). Now supporting Apple's M1 architecture
  • Updated Groovy scripting language (v4.0.4)
  • The "Show in file system" function now selects the target file on Windows (only worked on Mac previously)
  • Updated skins
  • Smaller footprint. Was able to shave off some MB
  • Bug fixes

Installers:
Mac: https://jalbum.net/download/jAlbum.dmg
Mac M1: https://jalbum.net/download/jAlbum-M1.dmg
Windows: https://jalbum.net/download/jAlbum-install.exe
Linux (Debian): https://jalbum.net/download/jalbum.deb

JeffTucker

Posts: 8,117
Registered: 31-Jan-2006
Re: jAlbum on Java 18
Posted: 10 Sep 22, 18:54   in response to: davidekholm in response to: davidekholm
Very speedy!

The WEBP file sizes are sometimes considerably smaller, at the same quality setting.

Can't test the M1 version. Please send me a new Macbook Air to replace my 2013 version. I'll let you know how it works out. In fact, go for the M2 version, for future-proofing. I'll give you my mailing address. ;)

One oddity to report. This is even difficult to describe. It's a Windows-only thing.

  • Add the jAlbum icon to the Windows taskbar.
  • Start a new project, add a few images, open any of the settings panels (jAlbum or skin, doesn't matter), make the album, and upload it.
  • Make sure all dialog windows are closed.
  • Mouse-hover on the jAlbum icon on the taskbar.
  • Mouse-hover on the jAlbum app thumbnail.

What it will show you is all of the dialog windows you have had open during the session - the settings panel, the upload dialog, and so on. When it shifts focus to jAlbum, the dialogs are all closed, so this is purely a bit of display weirdness.

Edited by: JeffTucker on 10 Sep 2022, 13:39 - lousy screenshot removed.
JeffTucker

Posts: 8,117
Registered: 31-Jan-2006
Re: jAlbum on Java 18
Posted: 10 Sep 22, 19:09   in response to: JeffTucker in response to: JeffTucker
Attachment session.mp4 (2.7 MB)
OK, I switched to ActivePresenter, and made a movie. It starts with a newly-created project with a few images. I open a settings panel, enter an album title, and close the settings. Then I hit Make Album, followed by Upload. The upload completes and shows the page, which I then close.

Now, and this is the fun part, I hover on the jAlbum icon on the taskbar, then on the jAlbum app thumbnail. Notice what pops up - it's showing the jAlbum window, plus the settings panel, plus the "make album" dialog, plus the "upload" dialog, all layered on each other. I do that twice, just to illustrate it. When I actually click on the thumbnail, the app regains focus, without any stray open panels.
JeffTucker

Posts: 8,117
Registered: 31-Jan-2006
Re: jAlbum on Java 18
Posted: 10 Sep 22, 19:33   in response to: JeffTucker in response to: JeffTucker
It gets more interesting. It does this in jAlbum 27, too. I can't believe I've never noticed it before, which makes me think this might be the result of a change in Windows itself. I'll explore some prior versions of jAlbum, just to see if it's different.

ETA: Just tried jAlbum 25, with the same result!

For reasons unknown, Windows is "remembering" every modal window that jAlbum has created and closed. Not doing any harm, so I guess it can be ignored. It's just very weird.
JeffTucker

Posts: 8,117
Registered: 31-Jan-2006
Re: jAlbum on Java 18
Posted: 10 Sep 22, 19:49   in response to: JeffTucker in response to: JeffTucker
BTW, the Zigzag skin page now appears to be two versions behind.

https://jalbum.net/skins/skin/Zigzag
AndreWolff

Posts: 1,247
Registered: 14-Dec-2007
Re: jAlbum on Java 18
Posted: 10 Sep 22, 21:58   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
  • Updated HEIC/HEIF readers/writers, better performance and more capable of odd file variants
Congratulations, the processing of HEIC images is much better and faster:

VERSION 28.1.5:
Maken van 'Test_HEIC-3' (Alles)
@@@@@@ : error ending picture
@@@@@@ : error ending picture
@@@@@@ : error ending picture
@@@@@@ : error ending picture
@@@@@@ : error ending picture
@@@@@@ : error ending picture
'Test_HEIC-3' gemaakt in 1m 2,444 sec

This beta:
Maken van 'Test_HEIC-3' (Alles)
'Test_HEIC-3' gemaakt in 29,487 sec
davidekholm

Posts: 3,454
Registered: 18-Oct-2002
Re: jAlbum on Java 18
Posted: 10 Sep 22, 22:28   in response to: JeffTucker in response to: JeffTucker
Interesting Windows behavior you're spotted Jeff. It's most likely something in the Java layer. If you care to report it, file a bug report
davidekholm

Posts: 3,454
Registered: 18-Oct-2002
Re: jAlbum on Java 18
Posted: 10 Sep 22, 23:50   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:

Can't test the M1 version. Please send me a new Macbook Air to replace my 2013 version. I'll let you know how it works out. In fact, go for the M2 version, for future-proofing. I'll give you my mailing address. ;)

If we made the money I feel we deserve, given the user appreciation we see in TrustPilot, I wouldn't hesitate a second to do that, and I'm not joking.
davidekholm

Posts: 3,454
Registered: 18-Oct-2002
Re: jAlbum on Java 18
Posted: 10 Sep 22, 23:50   in response to: AndreWolff in response to: AndreWolff
Thanks for confirming André.
davidekholm

Posts: 3,454
Registered: 18-Oct-2002
Re: jAlbum on Java 18
Posted: 10 Sep 22, 23:56   in response to: davidekholm in response to: davidekholm
I now have b5 out.

I deleted two old image reading libraries and added TwelveMonkey's corresponding modern/maintained readers instead. The result is great:

  • Shaved off another 1 MB
  • We now read TIFF files 350% faster, and more stable
  • We now read PSD files faster and more stable
  • We now read HDR images
  • We now read TIFF images (I couldn't help myself, being an old Amiga nerd). It's only another 20KB

Installers:
Mac: https://jalbum.net/download/jAlbum.dmg
Mac M1: https://jalbum.net/download/jAlbum-M1.dmg
Windows: https://jalbum.net/download/jAlbum-install.exe
Linux (Debian): https://jalbum.net/download/jalbum.deb
JeffTucker

Posts: 8,117
Registered: 31-Jan-2006
Re: jAlbum on Java 18
Posted: 11 Sep 22, 00:05   in response to: davidekholm in response to: davidekholm
You should hold off on the official update. JDK 19 will be released ten days from now.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums