*
The moose likes Beginning Java and the fly likes Which version to begin? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Which version to begin?" Watch "Which version to begin?" New topic
Author

Which version to begin?

Mike Smith
Ranch Hand

Joined: Oct 01, 2004
Posts: 38
What is the best version to start with?Someone who is just begining.Thank You.
David McCombs
Ranch Hand

Joined: Oct 17, 2006
Posts: 212
The newest Java SE version, which is JDK6 Update 2 http://java.sun.com/javase/downloads/index.jsp

Make sure you follow the install direction carefully


"Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration."- Stan Kelly-Bootle
Mike Smith
Ranch Hand

Joined: Oct 01, 2004
Posts: 38
When I get to Sun Download Manager Page, it asks for a file.What file?
Mike Mc Afee
Greenhorn

Joined: Jan 31, 2007
Posts: 19
Originally posted by Mike Smith:
When I get to Sun Download Manager Page, it asks for a file.What file?


Not knowing the message you are getting, I am assuming you are clicking on the yellow button that says "Download selected with Sun Download Manager" and it is giving the message "Sorry! You must check the box next to one or more files to download before starting Sun Download Manager".

This means that you need to go below the button and check a box next to the installation for your operating system (i.e. Windows, Linux, etc)

If this is not what you are encountering, please provide more detail.
Mike Smith
Ranch Hand

Joined: Oct 01, 2004
Posts: 38
Java DB10.2.2.0,Java(TM)6 Update2,Java(TM)SE Development Kit6 Update2, show up in Add\Remove Programs.One icon on Desktop,jdk-6u2-wi... When I click on the icon,it connects to Sun and then says files already installled.I am stumped at this point,followed all directions,the download went fine.Need next step.Thank You for the help.
Mike Smith
Ranch Hand

Joined: Oct 01, 2004
Posts: 38
Finally got it installed on the third try.Will now venture forward.Thank You for reply.
Mike Smith
Ranch Hand

Joined: Oct 01, 2004
Posts: 38
Started the tutorial from SUN Hello World,at commmand prompt cd C;\java(cannot find the path specified).Everthing is located on C:,have only one drive,am following the tutorial very carefully,any help would be appreciated.Thank You.
Red Smith
Ranch Hand

Joined: Aug 05, 2007
Posts: 136
    
    1
Originally posted by Mike Smith:
Started the tutorial from SUN Hello World,at commmand prompt cd C;\java(cannot find the path specified).Everthing is located on C:,have only one drive,am following the tutorial very carefully,any help would be appreciated.Thank You.


What does
dir c:\

show?
Mike Smith
Ranch Hand

Joined: Oct 01, 2004
Posts: 38
dir c:\,shows sevral files,including the HelloWordApp_java.txt that I saved from the tutorial.
Red Smith
Ranch Hand

Joined: Aug 05, 2007
Posts: 136
    
    1
Originally posted by Mike Smith:
dir c:\,shows sevral files,including the HelloWordApp_java.txt that I saved from the tutorial.


What directories does "dir c:\" show?
Red Smith
Ranch Hand

Joined: Aug 05, 2007
Posts: 136
    
    1
In looking at the opening page for the Cattle Ranch it has:


I put all of my stuff into a directory called java (off of my root, C:\, in Windows and off of my home directory in unix). On my windows machine, my PATH includes

"C:\j2sdk1.4\BIN;C:\j2sdk1.4\JRE\BIN".

and my CLASSPATH is set to

".;C:\JAVA" (notice the dot before the first semicolon)



From that it appears that the person writing it created the c:\Java directory themselves. You may want to double check the instructions and see if you need to create it. If it appears that they are using c:\Java as a place to store your .java files then I would just create it even if it doesn't say to. It appears that Sun is not installing to that directory but to something that starts c:\j2sdk
[ August 15, 2007: Message edited by: Red Smith ]
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Originally posted by Mike Smith:
dir c:\,shows sevral files,including the HelloWordApp_java.txt that I saved from the tutorial.


The file should not be named "HelloWordApp_java.txt". It should be named "HelloWorldApp.java". Rename it like this in the command prompt:

rename HelloWordApp_java.txt HelloWordApp.java


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Mike Smith
Ranch Hand

Joined: Oct 01, 2004
Posts: 38
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Mike>dir c:\
Volume in drive C has no label.
Volume Serial Number is 5089-224A

Directory of c:\

11/01/2004 08:38 PM 2,636,408 aawsepersonal.exe
11/01/2004 09:04 PM 618,936 advisor.exe
11/01/2004 02:33 PM 0 AUTOEXEC.BAT
08/11/2007 09:51 AM <DIR> c
10/16/2006 06:12 PM 364,130 Check your Credit Report Online at Credit
report_com!.htm
08/14/2007 03:04 PM <DIR> Config.Msi
11/01/2004 02:33 PM 0 CONFIG.SYS
01/26/2006 08:24 PM <DIR> Documents and Settings
04/19/2005 06:21 PM 1,438,919 fwc100_dfu_aen.pdf
11/01/2004 08:49 PM 474,256 GoogleToolbarInstaller.exe
08/14/2007 04:32 PM 270 HelloWorldApp_java.txt
02/16/2005 12:06 PM 218,112 HijackThis.exe
02/17/2006 11:30 AM 5,354 hijackthis.log
07/02/2007 06:44 PM 9,375,022 HomeBase23EN.EXE
04/12/2005 07:11 PM 26,112 Inventory Book.doc
03/28/2005 10:44 PM 22,434 Kodakgallery_com �3-29-05.htm
01/26/2006 08:54 PM <DIR> Kodakgallery_com �3-29-05_files
11/29/2004 11:10 AM <DIR> LIBRARY
03/21/2005 03:00 PM <DIR> lotus
03/21/2005 03:01 PM <DIR> lotustmp.000
03/21/2005 07:08 PM <DIR> MMWA
05/19/2006 09:08 AM <DIR> My Documents
08/14/2007 05:50 PM <DIR> Program Files
01/22/2006 02:31 PM 534,909 Rescued document.txt
07/02/2007 06:45 PM 3,333,120 setupPricePartner.exe
11/06/2004 12:29 AM 8,854,168 spf.exe
11/01/2004 07:16 PM 4,354,084 spybotsd13.exe
11/01/2004 06:46 PM 54,384 SpyWareNukerInstaller.exe
04/10/2005 01:04 PM 1,194,746 thinkapjava.pdf
03/21/2005 03:03 PM <DIR> ViaVoice
08/11/2007 07:30 PM <DIR> WINDOWS
01/06/2006 05:48 PM 19,456 Windows Tips and Tricks.doc
01/22/2006 02:31 PM 484,096 ~WRD0001.tmp
21 File(s) 34,008,916 bytes
12 Dir(s) 31,852,556,288 bytes free

C:\Documents and Settings\Mike> This is at dir c:\,will rename file HWA.
Mike Smith
Ranch Hand

Joined: Oct 01, 2004
Posts: 38
That is dir c:\,cannot rename the file.Thank you for replying.Will keep on going,thanks for your patience.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which version to begin?
 
Similar Threads
Difference between Struts,The Complete Reference and Pro Jakarta Struts?
WA #1.....word association
java version
Graphics
problem in enhanced for loop