![]() ![]() For this verification, type Test17Project In the dialog that appears, enter a new name for your project. For this verification, from the menu, select File -> New -> Java Project. This will cause Eclipse to use it as the default JRE for all new Java projects. Click Finish.Ĭheck the checkbox next to the JRE entry you just created. You should see the system libraries in the list titled "JRE system libraries:" In the "JRE Home:" field, type "/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home" will also help you get started with using NetBeans.Ĭhoose "MacOS X VM" as the JRE type. Verify that 1.7.0_04 is sent to the Output pane. Save the file and from the main menu, choose Run -> Run Main Project. FIND MY DEFAULT PATH TO JDK ON MAC CODEType or copy this line of code into Main.java Open "JavaApplication.java", and look for the main method. Now, let's make sure the new JDK is being used to run your code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |