• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java cannot be uninstalled and java.dll is not found, but java.dll is in the folder.

 
Greenhorn
Posts: 1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of all, I do not know how to work java or anything, I mainly only use it for minecraft and the like.

So the problem is that java appears to be installed on my system but will not work on Minecraft. Also my computer does not find java when trying to uninstall it, through both the java installer and Programs and Features. When I try installing java again it just gives me this error message: https://imgur.com/a/Qjc2wDJ. And when I put java -service into command prompt it states the following:

Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

But the thing is both the java application and java.dll is found inside a folder in my harddrive, and I had gotten it to work with an unofficial Minecraft launcher, so I'm pretty sure that the problem is that my computer cannot find the java itself for some reason, even though it's there. The only reasons I could think of this being the case is that some part of java is corrupted, but the cause could be anything for all I know.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just reset your pc lol
 
Rancher
Posts: 4801
50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "in a folder".
A normal Java installation will be in the Program Files folder (one of them anyway), for example.
 
Sheriff
Posts: 7125
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch, Dylan Evans!

Try uninstalling from Settings > Apps and Features.  Type "java" into the search box and you should get all the Javas that Windows thinks are on the computer.  Click on the Java you want to uninstall and push the button.  You probably should uninstall all of them and then reinstall the one you want.

Tell us what happens.
 
Knute Snortum
Sheriff
Posts: 7125
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ricky Phillip wrote:Just reset your pc lol


Welcome to the Ranch and thanks for your suggestion!
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java historically has not been pre-installed on Windows computers, thanks to Microsoft's pettiness resulting from their inability to usurp Java from Sun.

In the case of products like Minecraft, I think that the JVM used to run them is actually installed as part of the product (e.g., Minecraft) itself, so you'd have to uninstall Minecraft. Although I didn't think Minecraft was still written in Java - except for the orphaned and stripped-down version that runs on the Raspberry Pi.

Then again, I'm not intimate with Minecraft™ in its present form. I'm a lightweight - run the open-source clone Minetest and only in builder mode. No creepers, golems, or barnyard animals.
 
reply
    Bookmark Topic Watch Topic
  • New Topic