hansolo / jdkmon Goto Github PK
View Code? Open in Web Editor NEWA little tool written in JavaFX that monitors your installed JDK's and inform you about updates
License: Apache License 2.0
A little tool written in JavaFX that monitors your installed JDK's and inform you about updates
License: Apache License 2.0
After click on download JDK distro is dialog "JDKMon Download Info" (and this dalog has focus) shown under "main window" JDK Mon (this window is always on top). For me was whole dialog "JDKMon Download Info" under "main window" JDK Mon - this is not very user firendly.
May be related with fix for issue #24.
My OS is Windows 10.
Hi. Thanks for this application.
I'm using Manjaro Linux and I've hit on some weird edge case: running the application with java -jar JDKMon-linux.jar
nothing happens. However, when I run with GTK2, it works just fine: java -Djdk.gtk.version=2 -jar JDKMon-linux.jar
I'd like to suggest adding this property in the ReadMe, in case someone tries to run your application and have the same issue.
After installing (windows, msi installer) nothing happens. User expectation is usually that the app is launched or at the very least have an app shortcut available somewhere (meny and or desktop).
Now you have to open an file explorer, go to c:\program files\jdk mon and launch it yourself. No launcher shortcut in the menu or desktop.
Hey Gerrit,
I tried the basic git clone, open IntelliJ, run... and it fails. JDK 17 installed locally.
Also tried from the console with gradlew run
and it also fails.
I'd love to give this a try and start thinking about JDK Switcher.
Maybe it would like to automate it somehow ...
This behavior is for me as user unpleasant.
Hello, I do not see a license for this program.
So which license is it licensed under ?
It provides builds for Valhalla, Loom, master, and a few others that would be great to be included.
https://builds.shipilev.net
Suggestion to add more default search paths now that multiple can be added.
For example: C:\Program Files\Zulu
on windows, but there are certainly more, for adopt open jdk etc.
I just downloaded package from blogspot page:
jdkmon_17.0.18-1_amd64.deb
and installed it.
When i run it from launcher nothing happens.
When i run it from cmd i get this:
petr@probook:/opt/jdkmon/bin$ ./JDKMon
Feb 03, 2022 10:28:29 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @6aaf2814'
My system:
petr@probook
------------
OS: Linux Mint 20.3 x86_64
Host: HP ProBook 450 G8 Notebook PC
Kernel: 5.13.0-28-generic
Uptime: 12 mins
Packages: 2621 (dpkg)
Shell: bash 5.0.17
Resolution: 1920x1080, 1920x1080, 1920x1080
DE: Cinnamon
WM: Mutter (Muffin)
WM Theme: Mint-Y-Dark (Mint-Y)
Theme: Mint-Y [GTK2/3]
Icons: Mint-Y [GTK2/3]
Terminal: gnome-terminal
CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
GPU: Intel Device 9a49
Memory: 3651MiB / 31790MiB
Default java:
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
Thanks for your help.
Enable JDKMon to search in multiple folders for installed JDK's
its a bit of a treasure hunt to find the download jdk window if you have already openeded it once.
currently I have to restart JDKMon after having moved a window in front - its faster than trying to find it :)
would be great if jdkmon would bring windows/dialogs to the front when invoked via menu.
/opt/jdkmon/bin/JDKMon
Feb 03, 2023 5:08:13 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @3adff7a3'
Gtk-Message: 05:08:13.882: Failed to load module "appmenu-gtk-module"
Ubuntu 22.10
Release: 22.10
Codename: kinetic
openjfx installed.
Would like an option, maybe even default, to autostart with the computer/windows.
Many people are just using JDK releases. What do you think of an option to make that the default and an opt-in for ea releases?
I would use this text "* Marks currently selected JDK (in JAVA_HOME)" somewhere in window (or You have better idea?).
I think it would be useful.
As explained in this issue, the Oracle JDK installers for Windows (and possibly for macOS too) now shims only 4 binaries in a folder called java_home
and uses such directory as the bin
that is appended to PATH
.
An interesting feature for JDKMon is to offer the user an option to clean PATH
and JAVA_HOME
, and then allow the user to select which JDK they actually want, and then shim the binaries, append the folder containing the shims in PATH, and point JAVA_HOME to that particular JDK only.
This would potentially take JDKMon to the next level as a cross-platform JDK Switcher.
macOS 12.01 aarch64
JDKMon 17.0.18
The Alert dialog is appearing behind the main stage.
Sdkman is quite the popular tool for keeping JDK installations up to date. It'd be great if JDKMon supported scanning directories managed by Sdkman.
If multiple JDK's are found, detect and display the currently configured JDK in JAVA_HOME.
Suggestion:
Add a way to add search paths from the main window. Currently you have to locate the tray icon and right click it to add more search paths. If you already have the main window open it would be nice to be able to add more there.
Actually all right click options would be nice (rescan).
As explained in this issue, the Oracle JDK installers for Windows (and possibly for macOS too) now shims only 4 binaries in a folder called java_home
and uses such directory as the bin
that is appended to PATH
.
An interesting feature for JDKMon is to offer the user an option to clean PATH
and JAVA_HOME
, and then allow the user to select which JDK they actually want, and then shim the binaries, append the folder containing the shims in PATH, and point JAVA_HOME to that particular JDK only.
This would potentially take JDKMon to the next level as a cross-platform JDK Switcher.
Hello, first of all that's a awesome tool/project.
I've looking for a tool like this for windows when I found SDKMan. Can the JDKMon works like SDKMan for windows or it's like just for show jdk installed in machine?
When started, it takes tens of seconds, almost a minute, to show a window. On a 3960X 24-core Threadripper with 64G RAM and Nvidia 2070 SUPER.
This window, however, is unresponsive to clicks. I managed to get one right-click out of it among several tries (and showing a context menu), but it usually only started to seize the mouse for the whole desktop. After trying to start it from the command-line, this is printed out:
Sep 09, 2022 4:40:07 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @2dd61f5b'
(JDKMon:815907): Gdk-WARNING **: 16:40:26.926: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
Ctrl-C
wasn't working in the terminal and no mouse input was possible anymore. One pkill
later the window died, leaving an "empty" window shell behind, including a defunct systemtray icon. Still no mouse on the whole desktop. After switching to console (away from GUI Desktop altogether), a kill -9
finally ended the misery.
The window that showed up did look pretty, though. Quite a pleasant surprise.
It seems to come with it's own Java runtime, right? Haven't tried to run it with one of the installed, known good ones though.
I was thinking about using JavaFX for internal GUI projects, but yeah, that was a kind of cold shower right there and then. Yet I still like the looks of JDKMon. ;)
This problem is ONLY in this case (my OS is Windows 10, version JDKMon is 17.0.0.0):
Important note:
after close dialog "Download a JDK" and next open the given dialog this issue does not exist next already
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.