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

Could not install Java version #25

Open
sroui opened this issue Aug 24, 2024 · 1 comment
Open

Could not install Java version #25

sroui opened this issue Aug 24, 2024 · 1 comment

Comments

@sroui
Copy link

sroui commented Aug 24, 2024

When I run the command

vfox install java@latest

I am getting

stack traceback:
        [G]: in function 'error'
        /Users/soufianeroui/.version-fox/plugin/java/lib/foojay.lua:35: in function 'fetchtJdkList'
        /Users/soufianeroui/.version-fox/plugin/java/hooks/pre_install.lua:19: in main chunk
        [G]: ?
failed to install java
@ieayoio
Copy link

ieayoio commented Dec 12, 2024

me too

➜  ~ vfox search java  
no available version
➜  ~ vfox install java@21-tem-latest            
plugin [PreInstall] method error: /home/ieayoio/.version-fox/plugin/java/hooks/pre_install.lua:24: attempt to index a non-table object(nil) with key 'links'
stack traceback:
	/home/ieayoio/.version-fox/plugin/java/hooks/pre_install.lua:24: in main chunk
	[G]: ?
failed to install java
➜  ~ vfox install java@latest
plugin [PreInstall] method error: /home/ieayoio/.version-fox/plugin/java/lib/foojay.lua:35: Failed to fetch jdk info from foojay: status_code =>500
stack traceback:
	[G]: in function 'error'
	/home/ieayoio/.version-fox/plugin/java/lib/foojay.lua:35: in function 'fetchtJdkList'
	/home/ieayoio/.version-fox/plugin/java/hooks/pre_install.lua:19: in main chunk
	[G]: ?
failed to install java

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