Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
how do get started in java
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Del" data-source="post: 734066" data-attributes="member: 24208"><p>In the terminal there are two main commands for java, these are</p><p>java and javac</p><p></p><p>javac runs the java compiler</p><p></p><p>java executes a java program</p><p></p><p></p><p>so some examples</p><p></p><p>javac MyProgram.java (will compile MyProgram.java in the current directory)</p><p></p><p>java MyProgram (will execute MyProgram)</p></blockquote><p></p>
[QUOTE="Del, post: 734066, member: 24208"] In the terminal there are two main commands for java, these are java and javac javac runs the java compiler java executes a java program so some examples javac MyProgram.java (will compile MyProgram.java in the current directory) java MyProgram (will execute MyProgram) [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
how do get started in java
Top