HT204036: Get Java for your Mac
Learn about Get Java for your MacQ: i want to use eclipse software for c programming. i have downloaded the software. the software is giving me one pop up dialog that ... i want to use eclipse software for c programming. i have downloaded the software. the software is giving me one pop up dialog that you need JVM 1.7 for this software.. so give me some solutions for it.? more
-
All replies
-
Helpful answers
-
Oct 6, 2015 6:02 AM in response to Apar_Parmarby Wayne Contello,Google can help you locate the Java installer you need.
Have you considered installing XCode from the App Store? This IDE (Integrated Design Environment) allows you to program in C, C++, Object C, Objective C++, Switf, and others)
-
Oct 6, 2015 10:38 AM in response to Apar_Parmarby hokanst,You need a newer version of the JVM (Java Virtual Machine) Apple only supplies Java 1.6 you'll need to go to the Oracle site to get a more current version. The JRE (Java Runtime Environment) is probably the version you'll want to install, this is the plain JVM without the java developer tools.
Be aware that the installer may install unwanted junk apps/browser toolbars/... if you fail to uncheck certain installer check-boxes.
-
Oct 6, 2015 10:37 AM in response to Wayne Contelloby Apar_Parmar,can you please give me steps"how can i write and compile my c program into Xcode?"
-
Oct 7, 2015 11:57 AM in response to Apar_Parmarby Wayne Contello,1) Launch XCode
2) Select the menu item "File > New > Project..."
3) Select the type of project. For now select "OS X > Application > Command Line Tool", then click "Next"
4) Now give you project a name, then click "Next"
4) Now select where to store the project. I chose the Desktop for this example. You can choose where you like, then click the button "Create"
5) Now compile the example:
6) You may have to activate the built-in console to see the program output. Select the menu item "View > Debug Area > Activate Console":
Now make changes as needed to your program and compile, then run again





