+ 2

Which softwares do I need to programme Java in Windows 7? Also tell me how to run

31st Oct 2018, 1:22 AM
Shaheem PP
Shaheem PP - avatar
2 Respostas
+ 2
First, download java at https://www.oracle.com/technetwork/java/javase/downloads/index.html. Second, install it. Third, add an environmental variable to your computer by going to control panel then go to system and security then go to system. On the left side you will see a button name advance system settings click on it. Then click environment variables. Then click edit and add the path where java was install. The path is usually c:/program files/java/jdk/bin and also add the path c:/program files/java/jre/bin. 4th, type javac in command prompt. If you successfully added the environmental variables you will see some options for the command javac.
31st Oct 2018, 1:43 AM
chris
chris - avatar
+ 2
You could write your java program with any text editor like notepad. Then open up command prompt change your directory where your program is at by typying cd c:\folderWhereProgramIsAt Now to complie the program you could type javac nameofprogram.java To run your type java nameofprogram
31st Oct 2018, 1:51 AM
chris
chris - avatar