+ 3

Trying to install Java, but it doesn't work?

So, I am learning Java from w3schools and I am trying to follow their steps to downloading Java. I went to the Oracle website and picked the Windows x64 installer. I installed it. I then I try to make a path Java. I then went to the cmd.exe and typed in Java and it gives me this super long text which probably means it didn't work. Please help my problem.

19th Aug 2020, 8:06 PM
Jordan
Jordan - avatar
10 Réponses
+ 3
I have had success with Dr Java http://www.drjava.org/
19th Aug 2020, 8:20 PM
Steven M
Steven M - avatar
+ 1
Sorry i received no notice when you posted so i totally missed it, good to hear you fixed it
20th Aug 2020, 7:31 PM
JavaBobbo
JavaBobbo - avatar
0
check installation by java -version if you have Main.java source code, in its folder write javac -d .class Main.java java -cp .class Main
19th Aug 2020, 8:58 PM
zemiak
0
Okay, I will try that, but do you know any text editors I can use?
19th Aug 2020, 8:59 PM
Jordan
Jordan - avatar
0
any editors that can save simple text files, but there are editors for programmers like Notepad++ or big IDEs like IntelliJ, Eclipse, NetBeans, ...
19th Aug 2020, 10:02 PM
zemiak
0
Okay and I don't know what you mean by the folder and the names you listed or what to do with it.
19th Aug 2020, 10:36 PM
Jordan
Jordan - avatar
0
'folder' or directory - the place where you have your files or source codes on harddisk I listed example of commands you need to run java code file in cmd so just copy it to cmd by lines
19th Aug 2020, 11:04 PM
zemiak
0
Download for example Eclipse, you can find some IDEs here https://blog.idrsolutions.com/2015/03/the-top-11-free-ide-for-java-coding-development-programming/ Then download Java JDK if you havent, when that done then its time to set the path follow these steps https://www.geeksforgeeks.org/set-temporary-permanent-paths-java/ Then you can start coding
20th Aug 2020, 12:13 AM
JavaBobbo
JavaBobbo - avatar
0
JavaBobbo I tried looking at the 2nd website, but at the 6th step of copying the path of bin folder, there is no bin folder in my files or anywhere.
20th Aug 2020, 4:05 AM
Jordan
Jordan - avatar
0
Okay, I have figured out how to fix that problem. https://www.youtube.com/watch?v=IJ-PJbvJBGs
20th Aug 2020, 7:13 PM
Jordan
Jordan - avatar