Skip to content

How to uninstall jenv #25

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

Closed
SJY051 opened this issue Mar 19, 2022 · 3 comments
Closed

How to uninstall jenv #25

SJY051 opened this issue Mar 19, 2022 · 3 comments
Labels
FeatureRequest New feature or request

Comments

@SJY051
Copy link

SJY051 commented Mar 19, 2022

I installed it because I want to control the Java version, but there is a problem with my computer, so I want to delete jenv. How can I delete jenv and restore my java?

@FelixSelter
Copy link
Owner

Hi, Im sorry youre experienced issues with JEnv. Please tell them to me so I can fix them. If you want to uninstall JEnv you have to delete its folder. If you want to restore youre java versions you can navigate to "%appdata%/JEnv" Just enter this into the path of youre explorer. There should be a file called JEnv.config.json. Right click and open with your text editor of choice. There you will find your added java versions. Copy the path of the desired version it should look somewhat like "C://Program Files/Java/jre-1.81/" now copy it and add bin to the end. It should now look like this: "C://Program Files/Java/jre-1.81/bin/" Search using the windows search bar for "edit environment variables" then click edit somewhere to the bottom right. A new window should open. Search for path in the upper table. Should be in the first column. Double click and a list should open. Click new on the right. Now paste youre path to java and click ok. Restart terminal and it should work. I will add a uninstall feature soon. Will be posting images shortly so you can understand better

@FelixSelter FelixSelter added the FeatureRequest New feature or request label Mar 19, 2022
@SJY051
Copy link
Author

SJY051 commented Mar 19, 2022

thanks you

@FelixSelter
Copy link
Owner

1
2
3
4
5
6
7
8

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

No branches or pull requests

2 participants