I believe virtual threads were in java 21+
On the later java's you need to use (this is my current line)
#JavaCompilerPath: 24, D:\jdk-24\bin\javac.exe
ok i've got everything going... love the new ide (can build executables now) and java 24 with jfx is working smoothly.. i have it running on a serving machine albeit a bit dated (AMD FX 6300 16GB RAM - 6 core - built it loooong ago). The drives are local to the machine (WD 10k rpm Raptors) and not across the network from my dev box... I increased (int chunkSize = 1024*1024; // chunk size) and memory usage shows sharktooth waveform based on file. 3GB has been the max... mostly hanging around 1.5 to 2.5GB.
I'm logging times in teh debug DOS window (commented your stsout and added return type and value to 'doIt' method).
times lok much better than I've ever seen.. 17 seconds for a 922MB file, 47 seconds for 1.932 GB file.
of course the ui hangs while waiting on each but refreshes as teh files are advanced through.
overall very impressive.
ohh and there is a warning issued in the Logs.
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.glass.utils.NativeLibLoader in module javafx.graphics (file:/C:/Java/jdk-24/bin/../javafx/lib/javafx.graphics.jar)
WARNING: Use --enable-native-access=javafx.graphics to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
WinRT: combase.dll not found <<=== ??? Server library??
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by org.sqlite.SQLiteJDBCLoader in an unnamed module (file:/D:/MY%20Apps/Basic4Java/ctb_media_server/Objects/ctb_media_server_orig.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::allocateMemory has been called by com.sun.marlin.OffHeapArray (file:/C:/Java/jdk-24/bin/../javafx/lib/javafx.graphics.jar)
WARNING: Please consider reporting this to the maintainers of class com.sun.marlin.OffHeapArray
WARNING: sun.misc.Unsafe::allocateMemory will be removed in a future release