+ 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.
10 Réponses
+ 3
I have had success with Dr Java
http://www.drjava.org/
+ 1
Sorry i received no notice when you posted so i totally missed it, good to hear you fixed it
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
0
Okay, I will try that, but do you know any text editors I can use?
0
any editors that can save simple text files, but there are editors for programmers like Notepad++ or big IDEs like IntelliJ, Eclipse, NetBeans, ...
0
Okay and I don't know what you mean by the folder and the names you listed or what to do with it.
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
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
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.
0
Okay, I have figured out how to fix that problem.
https://www.youtube.com/watch?v=IJ-PJbvJBGs