Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,817 members, 7,956,084 topics. Date: Monday, 23 September 2024 at 01:10 AM |
Nairaland Forum / Science/Technology / Programming / Please What Should I Do? I'm Getting Error Message When Trying To Compile Java! (742 Views)
How Do I Fix "Player.exe Has Stopped Working" Error Message. / MESA Compile? / Javac Welcome1.java Could Not Compile The Application I Wrote,please Help. (2) (3) (4)
(1) (Reply)
Please What Should I Do? I'm Getting Error Message When Trying To Compile Java! by whyohme: 8:20pm On Dec 22, 2014 |
I've been trying for the past four hours to get over the error message I'm getting from cmd, when trying to compile -- a HelloWorldApp.java. I've gotten all the steps but I haven't passed this step: Where I've to add this code -- javac HelloWorldApp.java to compile the HelloWorldApp.java I keep getting this error message from cmd -- C:\MLee>javac HelloWorldApp.java 'javac' is not recognized as an internal or external command, operable program or batch file. C:\MLee>C:\jdk1.8.0\bin\javac HelloWorldApp.java The system cannot find the path specified. C:\MLee> javac HelloWorldApp.java 'javac' is not recognized as an internal or external command, operable program or batch file. C:\MLee>C:\jdk1.8.0\bin\javac HelloWorldApp.java The system cannot find the path specified. C:\MLee>jdk1.8.0\bin\javac HelloWorldApp.java The system cannot find the path specified. C:\MLee>C:\ACER\jdk1.8.0\bin\javac HelloWorldApp.java The system cannot find the path specified. C:\MLee>C:\myjava\jdk1.8.0\bin\javac HelloWorldApp.java The system cannot find the path specified. C:\MLee>C:\Program Files (x86)\jdk1.8.0\bin\javac HelloWorldApp.javac 'C:\Program' is not recognized as an internal or external command, operable program or batch file. C:\MLee>C:\Files\jdk1.8.0\bin\javac HelloWorldApp The system cannot find the path specified. C:\MLee>C:\jdk1.8.0\bin\javac HelloWorldApp The system cannot find the path specified. C:\MLee>C:\jdeo Please assist me... |
Re: Please What Should I Do? I'm Getting Error Message When Trying To Compile Java! by Nobody: 7:34pm On Dec 23, 2014 |
whyohme: The problem is because you haven't set up your Environment Variables. Simply search and read up any tutorial on how to setup Environment Variable for Java. |
Re: Please What Should I Do? I'm Getting Error Message When Trying To Compile Java! by javadoctor(m): 6:37am On Dec 24, 2014 |
Wow, 4 hours is a lot of time, r u using windows? If u are u can copy java.exe, javac.jar to ur c:/windows/system32 for, this should work or explicitly set ur environment variables or still call java.exe from the bin where it is installed, on Linux depending on ur distribution, u can use an rpm to install fr ur centos, deb for ubuntu or explicitly setup environment in ur ~/.bashrc as a root user. |
(1) (Reply)
I Will Help You Learn Php(scripts, And Tutorials) Fiverr =d / Mtn Whatapps 1 Month Subscription / Oracle Tutorial
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 30 |