Introvert or Extrovert Quiz
Q&A for How to Fix Java
Coming soon
Search
-
QuestionMy computer won't recognize javac as a valid command. Is it a Java issue, or the command prompt?Community AnswerYou need to add the Java bin directory to your %PATH% variable. Step 1: Find the Java installation directory, and find the bin directory Step 2: Copy the address Step 3: Open "Computer" from the Start Menu and click "System Properties" Step 4: Click "Advanced System Settings", and click "Environment Variables..." Step 5: Scroll down under "System Variables" until you see "Path" Step 6: Select "Path" and press "Edit". Paste the address at the start, and then append a semicolon (;) Step 7: Save, and you are done! Restart Command Prompt, and all should work
-
QuestionWhenever I try to play Minecraft it says, "Error opening registry key 'software\javasoft\java runtime enviroment". After I click OK, it then leads me to another error saying it couldn't find JAVA.DLL. Any ideas?Community AnswerCheck to ensure you have the latest version of Java installed and the newest Minecraft launcher. Next, go to the Minecraft folder in Programs(x86), delete the Runtime folder, and restart the launcher. That way the new Minecraft launcher will recreate it.
-
QuestionI couldn't find Java as a program on my Control Panel list of programs. Why?Wizzwizz4Community AnswerThis means that Java isn't installed. You can install Java from the Java website.
-
QuestionWhenever I try to open up shimeji with Java, it says "Error: a JNI has occurred, please check your installation and try again." Any tips?DanielCommunity AnswerThis error means that your development kit and runtime environment aren't working together correctly. Users with this error reported that the issue was resolved once they've upgraded JDK (the development kit). On Windows, searching for "check for updates" in the start menu brings up Java's update checker, try to use that to make sure Java is up-to-date. If you're on another operating system, look how to update Java on your specific platform. If updating Java to a newer version doesn't work, try to look for other solutions online or reinstall Java.
-
QuestionI tried to inject a script on roblox but Java said there was an error in the main process - what do I do?DanielCommunity AnswerThis is a JavaScript error, not a Java error. It's essential to note that Java and JavaScript are two very different programming languages despite the deceiving name.
-
QuestionDuring compilation it shows "Cannot find symbol and the package doesn't exist". How do I run a Java program on the command prompt?DanielCommunity AnswerBefore running a Java program from the command prompt, you'll have to make sure your file is compiled. If you have a .java file, you need to use "javac foo.java" (replace "foo" with the actual file name). Javac is used to compile Java programs. verify you have it by using "javac -version" first. If you don't have it, look into downloading it. You should now have the file "foo". If you've had this file or already had it, all that's left is to run "java foo". This command will run the Java program from the command prompt.
-
QuestionI thought I installed Java, however I can't find it in my program list. When I try to reinstall it, it says I need to complete the first download. How do I find the original download so I can uninstall it?DanielCommunity AnswerIt sounds like Java isn't installed on your computer yet due to it telling you that the installation hasn't completed and it not being listed in your programs list. Granting this, you can't uninstall it. By definition to uninstall something is to remove an installation, you can't remove something that is not installed in the first place (due to not finishing the installation). Try to complete the installation with the installer.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit