Code Monkey home page Code Monkey logo

jvms's People

Contributors

baneeishaque avatar broncho avatar codesidian avatar giiiiiithub avatar maciejdobrowolski avatar mend-bolt-for-github[bot] avatar ystyle avatar zhifengle 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

jvms's Issues

"jvms list" doesn't indicate current JDK in use with *

I'm using Windows 11 as a normal user, with no administrator privileges.
After running "jvms list" in the Windows Terminal:

Installed jdk (* marks in use):
    1) 21.0.2
    2) 17.0.8.101

OK when running Windows Terminal as administrator:

Installed jdk (* marks in use):
    1) 21.0.2
  * 2) 17.0.8.101

Can't switch to Java 1.8

Hi,

I recently downloaded the latest release of jvms (v2.1.3) and I installed 1.8.0_151. When I try to switch to that version, it says that version is not installed.

Looking briefly at the code, I found that it's looking for javac.exe to determine if the version exists or not, and that file is not present for this version.

Any workaround suggestion? Thanks in advance!

exit status 1

exit status 1: 'D:\Program' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���

Suggestion Improvement: Allow local path for originalpath json file

It would be great to have the possibility to define your distribution list and storage of distributions as local path (own disk) references. In such case, you can have it locally (not requiring a server lo storage the json not the java distributions) and you can install it without connectivity.

Thanks!

Not working switch.

After installing a JDK version, I get the following error with switch and "java -version" do not found java:

image

Add more default jdks

You can see there this a whole list of renowned JDKs. This project should at least have Temurin.

https://github.com/whichjdk/whichjdk.com

Also, winget gives the list of all jdk to latest version, maybe use that as dynamic instead of static

winget search OpenJDK
Name                                       Id                             Version     Match        Source
---------------------------------------------------------------------------------------------------------
ojdkbuild OpenJDK JRE 8                    ojdkbuild.ojdkbuild            1.8.3221.6               winget
Java SE Development Kit 18                 Oracle.JDK.18                  18.0.2.0    Tag: openjdk winget
Java SE Development Kit 17                 Oracle.JDK.17                  17.0.4.0    Tag: openjdk winget
ojdkbuild OpenJDK JRE 17                   ojdkbuild.openjdk.17.jre       17.0030.6.1 Tag: openjdk winget
ojdkbuild OpenJDK 17                       ojdkbuild.openjdk.17.jdk       17.0030.6.1 Tag: openjdk winget
OpenJDK JRE 11                             ojdkbuild.openjdk.11.jre       11.0.15.1   Tag: openjdk winget
OpenJDK 11                                 ojdkbuild.openjdk.11.jdk       11.0.15.1   Tag: openjdk winget
Microsoft Build of OpenJDK with Hotspot 17 Microsoft.OpenJDK.17           17.0.4.8    Tag: openjdk winget
Microsoft Build of OpenJDK with Hotspot 16 Microsoft.OpenJDK.16           16.0.2.7    Tag: openjdk winget
Microsoft Build of OpenJDK with Hotspot 11 Microsoft.OpenJDK.11           11.0.16.8   Tag: openjdk winget
Eclipse Temurin JRE with Hotspot 8         EclipseAdoptium.TemurinJRE.8   8.0.322.9   Tag: openjdk winget
Eclipse Temurin JRE with Hotspot 18        EclipseAdoptium.TemurinJRE.18  18.0.1.10   Tag: openjdk winget
Eclipse Temurin JRE with Hotspot 17        EclipseAdoptium.TemurinJRE.17  17.0.4.8    Tag: openjdk winget
Eclipse Temurin JRE with Hotspot 11        EclipseAdoptium.TemurinJRE.11  11.0.16.8   Tag: openjdk winget
Liberica JDK 8 Full                        BellSoft.LibericaJDK.8.Full    8.0.342.7   Tag: openjdk winget
Liberica JDK 8                             BellSoft.LibericaJDK.8         8.0.342.7   Tag: openjdk winget
Liberica JDK 18 Full                       BellSoft.LibericaJDK.18.Full   18.0.2.10   Tag: openjdk winget
Liberica JDK 18                            BellSoft.LibericaJDK.18        18.0.2.10   Tag: openjdk winget
Liberica JDK 17 Full                       BellSoft.LibericaJDK.17.Full   17.0.4.8    Tag: openjdk winget
Liberica JDK 17                            BellSoft.LibericaJDK.17        17.0.4.8    Tag: openjdk winget
Liberica JDK 16 Full                       BellSoft.LibericaJDK.16.Full   16.0.2.7    Tag: openjdk winget
Liberica JDK 16                            BellSoft.LibericaJDK.16        16.0.2.7    Tag: openjdk winget
Liberica JDK 15 Full                       BellSoft.LibericaJDK.15.Full   15.0.2.10   Tag: openjdk winget
Liberica JDK 15                            BellSoft.LibericaJDK.15        15.0.2.10   Tag: openjdk winget
Liberica JDK 14 Full                       BellSoft.LibericaJDK.14.Full   14.0.2.13   Tag: openjdk winget
Liberica JDK 14                            BellSoft.LibericaJDK.14        14.0.2.13   Tag: openjdk winget
Liberica JDK 11 Full                       BellSoft.LibericaJDK.11.Full   11.0.16.8   Tag: openjdk winget
Liberica JDK 11                            BellSoft.LibericaJDK.11        11.0.16.8   Tag: openjdk winget
Azul Zulu JDK 7                            Azul.Zulu.7                    7.56.0.11   Tag: openjdk winget
Azul Zulu JDK 6                            Azul.Zulu.6                    6.22.0.3    Tag: openjdk winget
AdoptOpenJDK JDK with Hotspot 8            AdoptOpenJDK.OpenJDK.8         8.0.292.10  Tag: openjdk winget
AdoptOpenJDK JDK with Hotspot 16           AdoptOpenJDK.OpenJDK.16        16.0.1.9    Tag: openjdk winget
AdoptOpenJDK JDK with Hotspot 15           AdoptOpenJDK.OpenJDK.15        15.0.2.7    Tag: openjdk winget
AdoptOpenJDK JDK with Hotspot 14           AdoptOpenJDK.OpenJDK.14        14.0.2.12   Tag: openjdk winget
AdoptOpenJDK JDK with Hotspot 11           AdoptOpenJDK.OpenJDK.11        11.0.11.9   Tag: openjdk winget
Eclipse Temurin JDK with Hotspot 8         EclipseAdoptium.Temurin.8.JDK  8.0.332.9   Tag: openjdk winget
Eclipse Temurin JDK with Hotspot 11        EclipseAdoptium.Temurin.11.JDK 11.0.16.8   Tag: openjdk winget
Azul Zulu JDK 17                           Azul.Zulu.17.JDK               17.36.15    Tag: openjdk winget
Eclipse Temurin JDK with Hotspot 20 (Beta) EclipseAdoptium.Temurin.20.JDK 20.0.0.5    Tag: openjdk winget
Eclipse Temurin JDK with Hotspot 19 (Beta) EclipseAdoptium.Temurin.19.JDK 19.0.0.30   Tag: openjdk winget
Eclipse Temurin JDK with Hotspot 18        EclipseAdoptium.Temurin.18.JDK 18.0.2.9    Tag: openjdk winget
Eclipse Temurin JDK with Hotspot 17        EclipseAdoptium.Temurin.17.JDK 17.0.4.8    Tag: openjdk winget
Eclipse Temurin JDK with Hotspot 16        EclipseAdoptium.Temurin.16.JDK 16.0.2.7    Tag: openjdk winget
Azul Zulu JDK 18                           Azul.Zulu.18.JDK               18.32.11    Tag: openjdk winget
Azul Zulu JDK 16                           Azul.Zulu.16.JDK               16.32.15    Tag: openjdk winget
Azul Zulu JDK 15                           Azul.Zulu.15.JDK               15.42.15    Tag: openjdk winget
Azul Zulu JDK 13                           Azul.Zulu.13.JDK               13.50.15    Tag: openjdk winget
Azul Zulu JDK 11                           Azul.Zulu.11.JDK               11.58.17    Tag: openjdk winget
Azul Zulu JDK 8                            Azul.Zulu.8.JDK                8.64.0.15   Tag: openjdk winget
OpenJDK 14                                 ojdkbuild.openjdk.14.jdk       14.0.1.1                 winget
OpenJDK 13                                 ojdkbuild.openjdk.13.jdk       13.0.3.1                 winget
AdoptOpenJDK JDK with Eclipse OpenJ9 17    AdoptOpenJDK.OpenJDK.17        17.0.0.18                winget
Update Watcher for AdoptOpenJDK            tushev.org.AJUpdateWatcher     2.0.4.0                  winget

设置环境变量失败

自己用的是Windows10 LTSB版操作系统,使用v2.0.0进行jvms.exe init进行设置环境变量。Java_home设置正确,但是jvms.exe本身的目录没有设置为空,导致下载好jdk后,创建的软连接失败。最后通过手动设置环境解决了。

README.md inconsistent

the generated link(shortcut) points to C:\Program Files\store hence the downloaded file should be extracted to C:\Program Files.

There is no command such as use in the image, it should be switch instead.

jvms rls not working

Getting this error on two devices when running jvms rls:
invalid character '<' looking for beginning of value
Any workarounds?

switch as normal user failed

In the readme you talked a lot about how you bypass the nuc issue.
but I cannot switch as normal user.

PS C:\Users\yang.lei> java --version
java 11.0.8 2020-07-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode)
PS C:\Users\yang.lei> jvms switch 17.0.6
set Environment variable `JAVA_HOME` failure: Please run as admin user
PS C:\Users\yang.lei>

Change the default path of Store and Download?

My workflow on Windows is that I have:

~
|__ .local/
|   |__ bin/
|
...

~/.local/bin/ is where I placed binaries for my terminal shell. It's in my user space so it doesn't require elevated privilege. The same with my java versions. I have them stored at ~/.jdks/.

Can we decouple the default download and install paths to ~/Downloads and ~/.jdks/ instead?

jvms rls 不会展示列表

你好,我是java新手,我在使用jvms时,遇到了这样的问题,当我在命令行输入 jvms rls 时,控制台输出了这样的语句,

image

我之前并没有使用过jvms 这样的工具,还希望能看到时,可以帮我解决一下,非常感谢,

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.