Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Which version to begin?

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the best version to start with?Someone who is just begining.Thank You.
 
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Mike Smith
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I get to Sun Download Manager Page, it asks for a file.What file?
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Finally got it installed on the third try.Will now venture forward.Thank You for reply.
 
Mike Smith
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 136
1
Netscape Opera Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dir c:\,shows sevral files,including the HelloWordApp_java.txt that I saved from the tutorial.
 
Red Smith
Ranch Hand
Posts: 136
1
Netscape Opera Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 136
1
Netscape Opera Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Mike Smith
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is dir c:\,cannot rename the file.Thank you for replying.Will keep on going,thanks for your patience.
 
reply
    Bookmark Topic Watch Topic
  • New Topic