[BUG]: Switch doesn't seem to work on cygwin
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- bash, java
- Ambito
- cli, operating-systems
Direzione di ricerca
Reproduce the failure using the vfox use java@22 and vfox activate bash entry points under Cygwin, then compare the path-handling behavior with issue 305. Trace how JAVA_HOME is exported and verify that the completed change lets Cygwin resolve the Java directory and run the requested Java version.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version vfox version 0.5.4
OS Windows
Describe the bug
Running vfox use java@22 does not change JAVA version
$ vfox use java@22
Now using [email protected]+8-tem.
$ set | grep -i JAVA_HOME
JAVA_HOME='C:\Users\koppor\.version-fox\temp\1722722400-4468\java'
$ ls -la C:\Users\koppor\.version-fox\temp\1722722400-4468\java
ls: cannot access 'C:Userskoppor.version-foxtemp1722722400-4468java': No such file or directory
This java dir seems to be hard-coded:
$ vfox activate bash
export JAVA_HOME=$'C:\\Users\\koppor\\.version-fox\\temp\\1722722400-4468\\java';export __VFOX_SHELL=$'bash
Screenshots[optional]
koppor@DESKTOP-KAK953S MINGW64 /c/git-repositories/jabref (ai-pr-1)
$ vfox use java@22
Now using [email protected]+8-tem.
koppor@DESKTOP-KAK953S MINGW64 /c/git-repositories/jabref (ai-pr-1)
$ ./gradlew ru
> Configure project :
Project : => 'org.jabref' Java module
FAILURE: Build failed with an exception.
* What went wrong:
java.lang.UnsupportedClassVersionError: org/beryx/jlink/JlinkPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
> org/beryx/jlink/JlinkPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s
2 actionable tasks: 2 up-to-date
- Lingua principale
- Go
- Stelle
- 4k
- Fork
- 167
- Merge medio
- 2g 10h
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di version-fox/vfox
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
version-fox/vfox#746 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: `vfox env` serves the cached output after a `cd`: a .nvmrc / .node-version is ignored on the way in and kept on the way outForse già presa @thelastbackspace l’ha presa 1 giorno fa. Apertabug
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
version-fox/vfox#745 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
version-fox/vfox#743 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Follow-ups of #736: plugin updates, the path.mode default and vfox configForse già presa @linghengqian l’ha presa 15 giorni fa. Apertaplan plugin
version-fox/vfox#737 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Improve the E2E experience for certain plugin repositories on Windows containersForse già presa @linghengqian l’ha presa 16 giorni fa. Apertaenhancement
version-fox/vfox#733 · 2 commenti · 2 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di version-fox/vfox
Issue simili
-
agent-butler-finding bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
jordansmall/spindrift#6414 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Icinga/icinga-kubernetes#294 ·
I maintainer di solito rispondono entro 4 giorni
-
Cluster details: the Control Plane version field has a different border color than its icon boxApertakind/design sig/ui
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
kubermatic/dashboard#8449 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
cli/cli#14962 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Model conformance driftApertamodel-drift
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno