Re: New to the Java world

Eric <[email protected]> Fri, 31 May 2002 21:37:50 +1200
Newsgroups gmane.comp.windows.devel.java.general
Message-ID <004c01c20887$041e58a0$1500a8c0@686>
Hi have you downloaded the Java Development Kit. and installed it, I think?
Opera might put a version on your computer




You could do a file search for "javac.exe" that is short for "Java Compiler"
and see if javac.exe is on your computer

then you make a " *.java " file with notepad or similar, use the example
below,
~~~~~~~~~  " HelloWorld.java "  file ~~~~~~~~~~~~~

public class HelloWorld {

   public static void main(String arg[]) {
      System.out.println("Hello, everybody!");
   }

}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sun talk about " crosspath" but  I made a batch file called it
"MakeClass.bat" in that I use directory path to javac is in (seen below,
this batch file is in the same folder as the " HelloWorld.java " files I am
working on
~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\jdk1.3.1\bin\javac HelloWorld.java
~~~~~~~~~~~~~~~~~~~~~~~~~~~
And it is ready to make in a new class from new " HelloWorld.java " file,
Then I edit the " *.java " file (with Notepad), Save it, Double click on to
"MakeClass.bat"  and it makes a new " HelloWorld.class "

No need to retype "javac work.java" from DOS each time you need to make new
" *.class "

##############################
to run use
C:\jdk1.3.1\bin\java HelloWorld



If you get stuck at any stage let us know, There are good members of the
group that can help you just as much as me.

From Eric








NO ATTACHMENT WAS SENT WITH THIS E-MAIL,
IF THERE IS ONE, IT IS A UNDETECTED VIRUS,  PLEASE LET ME KNOW..

I have been using Outlook Express message rules and "Do not download it from
the server" and set it to 40K", This stops down-loading files bigger than
40K, then I use MailWasher to see what Email has not been download, This has
already stoped down-loading a virus onto my computer that someone else from
the Email group bought to my attention.
www.mailwasher.net



----- Original Message -----
From: "Steven Fraser" <[email protected]>
To: <[email protected]>
Sent: Friday, May 31, 2002 8:01 PM
Subject: [JAVA] New to the Java world


Hi All,

I'm completely new to Java, and come I have a heavy microsoft background. I
was wondering what I would to need install on my
PC at home to start learning about Web, Messaging,
Database development.

Are there any web sites to help developers from a microsoft background get
familiar with Java based development?

Regards,
             Steven Fraser



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 24-05-02

You can read messages from the JAVA archive, unsubscribe from JAVA,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.