Solved

java on mac

Posted on 2010-11-17
10
374 Views
Last Modified: 2012-05-10
I want to do this online course on java located here: http://www.bfoit.org/itp/JavaProgram.html

i need a java compiler and vm in order to work on this course correct?

i have a brand new mac.

Supposedly all macs come with all the java programs that i need.

How do I access them?

I tried to doing the first "hello world" lesson that site and i dont know how to open the .jar file that i created on textedit with a java compiler and virtual machine as directed.
0
Comment
Question by:yond
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 92

Accepted Solution

by:
objects earned 168 total points
ID: 34161251
I'd suggest grabbing an ide such as eclipse

> I tried to doing the first "hello world" lesson that site and i dont know how to open the .jar file that i created on textedit with a java compiler and virtual machine as directed.

open a terminal window if you want to use a command line
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 166 total points
ID: 34163072
>>Supposedly all macs come with all the java programs that i need.

If that's correct, then the following command at the command line should return something. If not, download the JDK. Don't use anything other than a text editor to begin with or you'll have an extra learning curve
which javac

Open in new window

0
 

Author Comment

by:yond
ID: 34163955
where do i put that command which javac
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 86

Expert Comment

by:CEHJ
ID: 34163965
In the terminal appplication
0
 

Author Comment

by:yond
ID: 34164062
assume that i do have java on the computer how do i open this file i created called hello.java
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 34164083
Opening it is not an issue. hello.java is a text file. You need to compile it and run it. For that you need a jdk
0
 
LVL 1

Assisted Solution

by:GenroseSusai
GenroseSusai earned 166 total points
ID: 34166981
Go to the Application > Utilities > Terminal
go to the respective folder using cd command and
Now type > pico hello.java
It would open the java file in editor mode.


Hope this helps you.
0
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 37445787
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question