aspose file tools*
The moose likes Beginning Java and the fly likes Java! first cup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java! first cup" Watch "Java! first cup" New topic
Author

Java! first cup

Bryan Patton
Greenhorn

Joined: Oct 15, 2005
Posts: 1
Hello! I will be attending classes in FEBUARY.I would like to get my feet wet now, so that I have some idea as to what is going on. I would like to try some basic examples. But first I want to make a couple of things clear.
When using an operating system, can I use XP Home edition or do I need XP Pro? Or does it make a difference, and why? 2nd I have an issue with code examples and typing.How do you tell what the spacing is between the lines.It would appear to be 1 or 2. Can someone please explain the formating when writing code. Thank You For Your Time.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Hi Bryan, and welcome!

XP Home edition is perfectly fine. In fact, I don't know of any reason that the Pro edition would be beneficial for learning Java. You just need to have the Java SDK (Software Development Kit) installed, which you can download (free) directly from Sun. The most recent version is 1.5.0 (also known as 5.0 or "Tiger"), although the previous version of 1.4.2 is still commonly used.

Java 2 SE 1.4.2 SDK
Java 2 SE 1.5.0 SDK

As far as spacing between lines, Java doesn't care. One, two, three, or even none at all. The same goes for indentation. But although Java doesn't care, other people do. (Passionately, in fact.) So you will want to adopt a clear, consisent, and conventional style from the start.

Sun's Java Style Guide

Do you have Java installed? Have you run a "Hello World" program yet? If not, try it out!

Sun's Java Tutorial


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Hi Bryan,

Welcome to JavaRanch!

Java is a very portable language, and because the most common development tools are written in Java themselves, they are very portable too. Java and its tools will run on Linux, Solaris, many other UNIX variants including Mac OS X, as well as various versions of Windows, from the lowly Windows 98 to the slightly less lowly Windows XP Professional, Windows XP PartTime, Windows XP Temp, Windows XP Home, Windows XP Garden, and Windows XP Henhouse. Whatever you've got is probably just fine!

Regarding formatting: Java, like most modern languages, doesn't really care much about whitespace. You certainly could type code with double-spaced lines if you wanted. But Java won't care. Single spacing (which is what every one does, of course) is just fine. Note, though, that a file of code has to be plain text -- not a Word file, not an RTF file, but plain text.


[Jess in Action][AskingGoodQuestions]
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
As you get going see if THIS helps with classpath, path, packages and such.

Let us know how things go for you. Drop in and ask questions any time!


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Naveen Vooka
Greenhorn

Joined: Oct 13, 2004
Posts: 25
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/compile.html
http://java.sun.com/learning/new2java/index.html
http://www.javacoffeebreak.com/tutorials/

--------------
Naveen Vooka
www.devsquare.com
DevSquare - Online Application Development
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java! first cup