Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How are you using .local/dev? #2

Open
Ramblurr opened this issue Sep 23, 2023 · 1 comment
Open

Question: How are you using .local/dev? #2

Ramblurr opened this issue Sep 23, 2023 · 1 comment

Comments

@Ramblurr
Copy link

Ref:

home.file.".local/dev".source = let

Hi there,

I'm trying to troubleshoot why I can't get openjfx working in a dev environment. I'm getting quite a few different errors like no glassgtk3 in java.library.path. Searching through github I found your repo here and it looks like you might have a solution, but I'm not sure how you are using the ~/.local/dev dir with symlinks to all the libs.

Cheers!

@rien
Copy link
Owner

rien commented Sep 25, 2023

Hi! I'm using .local/dev to have an easy location for the SDK's and tools I use within my IDE. This way I can point my my default JDK to ~/.local/dev/java instead of its location in the nix store, which automatically points to the latest version when I update. It also has the added benefit that I don't have to scroll through the huge /nix/ folder.

I think the important thing is that I also add all these SDK's and tools to extraPath, which I then add to the PATH variable of my IDE. When I execute programs with my IDE, these SDK's should be loaded. You should probably do something similar in your dev environment.

I also see libglassgtk3.so is only included in the packages jdk, jdk11, openjf11 and jetbrains.jdk, so maybe the library your program is using is not available in the JDK you have installed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants