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

Painfully slow while running local / global java #234

Open
pinkfloydsito opened this issue Oct 10, 2024 · 0 comments
Open

Painfully slow while running local / global java #234

pinkfloydsito opened this issue Oct 10, 2024 · 0 comments

Comments

@pinkfloydsito
Copy link

Hi, I am using mac M1 and recently tried to use the java plugin. I installed java 11.

added this to the fish config

set -gx PATH $HOME/.asdf/shims $PATH

source /opt/homebrew/opt/asdf/libexec/asdf.fish

however running java is painfully slow. As you can see below, it takes 42 seconds to just run java -version. Does someone know what am I missing in my config?

openjdk version "11.0.24" 2024-07-16
OpenJDK Runtime Environment Temurin-11.0.24+8 (build 11.0.24+8)
OpenJDK 64-Bit Server VM Temurin-11.0.24+8 (build 11.0.24+8, mixed mode)

________________________________________________________
Executed in   42.29 secs      fish           external
   usr time   66.36 millis  496.00 micros   65.86 millis
   sys time   53.92 millis  700.00 micros   53.23 millis
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

1 participant