Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 24th, 2006, 06:30 AM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I need help,thakn you very much.

This is my first that I use Java to program.
Could you tell me how can I build a new program step by step?
Thank you very much.

 
Old April 24th, 2006, 07:25 PM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

there are many tutorals online...to write with my hand ok i try some
1 you must have jdk downloaded http://java.sun.com/j2se/1.5.0/download.jsp
2 you just double click it and it install necessery folders itself.. it b easire if u install in on path
c:\jdk1.5 rather than c:\jdk1.5\programfiles....
3 set envierment veriables by
 * right click on my computer ...go in properties go in advance then click on envierment veriables
click on new.. path in first line ...c:\jdk1.5\bin
ow whereever you have jdk installed u have to give path of bin file ..click ok ok
4 open notepad or any plain text formate
5 write a class a simple one like
public class MyProgram {
 public static void main(String[] args) {
System.out.println("THANK YOU WROX");
  }
}
6 write above code as it is save file anywhere by giving name "MyProgram" note give "" too .
7 go to comand prompt.. by start run ..type cmd press enter
8 go to that folder where that file is and then
7 javac MyProgram.java
execture above command to compile that file
8 java MyProgram
execute this comand for class file execution
______
but u must concelt a book like Ivor Horton's.
===JAVA====










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.