GithubHelp home page GithubHelp logo

hansolo / jdkmon Goto Github PK

View Code? Open in Web Editor NEW
307.0 307.0 19.0 206.35 MB

A little tool written in JavaFX that monitors your installed JDK's and inform you about updates

License: Apache License 2.0

Batchfile 0.44% Shell 1.15% Java 78.48% CSS 19.93%

jdkmon's People

Contributors

gschrader avatar hansolo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jdkmon's Issues

Switch between JDK versions

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?

bring windows/dialogs to front

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.

Problem with starting JDKMon

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.

license?

Hello, I do not see a license for this program.
So which license is it licensed under ?

Semi-crashes Desktop on Kubuntu Linux 20.04.4

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. ;)

Glitches in notification

In notification are for me (on Windows 10) some graphic glitches.

Please, see attached screenshot of notification bellow (glitches are marked red):

Screenshot

Missing text "Bundled with FX" for checkbox in dialog "Download a JDK" after first open the given dialog only

This problem is ONLY in this case (my OS is Windows 10, version JDKMon is 17.0.0.0):

  1. 2x click on shortcut "JDKMon" on desktop for launch JDKMon
  2. close the window "JDK Mon" or leave it open (does not affect the issue)
  3. on tray icon for JDKMon from context menu (right click) to select item "Download a JDK"
  4. in opened dialog "Download a JDK" on top is missing text "Bundled with FX" for given checkbox <- issue (see screenshot bellow)

Important note:
after close dialog "Download a JDK" and next open the given dialog this issue does not exist next already

Screenshot (for typo "Operatingsystem I send PR already"):
image

Broken DMG for 2.6

macOS DMG looks to be damaged - .pkg works fine.

Screenshot 2021-05-20 at 09 04 32

Nothing obvious on the command line ./JDKMon same error dialog.

Suggestion: Add more default search paths

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.

Feature Request: Shim a JDK

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.

Can't run locally

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.

Add suggestion for running with GTK 2 in the Readme

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.

Feature Request: Shim a JDK

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.

JDKMon Download Info dialog is shown under "main window" JDK Mon

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.

Unknown checkbox

In the Windows 10 version of 17.0.6 there is a checkbox that is missing a label.

image

image

Suggestion: Add a way to add search paths from the main window

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).

Application not launched after installation (windows msi installer)

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.

Support sdkman locations

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.

cannot run deb installed

/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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.