★ wanayoo — archive 1999 http://java.sun.com/products/help/installation-help.htmlNouvelle recherche | Portail wanayoo
Java Technology Home Page
A-Z Index

The Source for Java Technology

 

Downloads, APIs, Documentation
Java Developer Connection
Docs, Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide

Help Pages
Welcome
Download Help
Installation Help
Technical Help
Education Help

Resources
Java Tutorial
New to Java Programming Center
Bug Parade (req. login)
Java User Groups
Java Developer Connection Forums
Java Community Process
Java Technology Jobs at Sun
Java(TM) Technology Help Pages

Welcome | Download Help | Installation Help | Technical Help | Education Help

Installation Help
The Installation Help section pertains to JavaTM technology products and APIs offered on the java.sun.com pages. 'Installation' refers to:
  • concatenating the pieces, if necessary
  • launching the software
  • troubleshooting any launch problems
  • insuring that the software runs a simple program

Topic Index

  1. Installation Forums 
  2. Installation Basics 
  3. Product specific instructions for J2SETM 
  4. Product specific help for JSPTM 
  5. Class Path errors 
  6. Corrupt Cab 
  7. Checking the file size 
  8. Decompression error 
  9. Linux: Getting started 
  10. WinME Installation 
  11. Software available on CD-ROM 

  1. Installation Forums
  2. Ask specific questions and find answers regarding Installation or Compiling issues. The Java Developer ConnectionSM Community Discussion Forums are an interactive resource for all aspects of the Java platform.

    Everyone is able to read through the topics and messages. To post or reply to a message, please register for and login to a free JDC membership account.

    Back to Topic Index  

  3. Installation Basics
  4. When doing an FTP download, the popup will ask the usual Open/Save to Disk/Exe options, since our files end with a .exe extension. Do NOT try to execute it. You should save to disk because the pieces are not individually installable.

    Renaming the files to shorter filenames can really help.

    Make sure the files are all in the same directory before typing the comand line to copy them into one big file. (called 'concatenating' the files)

    On Win95 or 98 systems, the command line buffer is only 128 characters long, NOT enough for the entire command needed. Either use really short names, or use a batch file.

    To create a batch file

    • use "Notepad" on your system
    • cut'n'paste the "copy" command block on our Windows installation notes into the notepad editor
    • This is very important! remove all the "new line" characters (carriage returns) so that you have one very long line
    • type the name of the batch file at the DOS prompt
    • you should see the names of the pieces being displayed
     

    Back to Topic Index  

  5. Product specific instructions for J2SETM
  6. Java 2 SDK, Standard Edition, v1.3:

    Java 2 SDK, Standard Edition, v1.2.2:

    JDKTM v1.1.8:

    NOTE: Read more about the name change from JDK to J2SE.

    Back to Topic Index  

  7. Product specific help for JSPTM
    • Setup Tomcat is a helpful checklist for Java Server PagesTM installation. It's part of the JSP Intro tutorial.
    • The Jakarta Tomcat project JSP FAQ has a section on Installation
    • The Java Developer Connection Community Discussion Forums are an interactive resource for all aspects of the Java platform. You can find answers to specific questions regarding JSP Issues. Everyone is able to read through the topics and messages. To post or reply to a message, register for and login to a free JDC membership account.


    Back to Topic Index  

  8. Class Path errors
  9. 'Setting the Classpath' is covered in the Tools documentation for

    Platform specific help for common compiling errors is available in the Get Started index of the Java Tutorial. The tutorial provides a great introduction to object oriented programming with the Java platform.  

    Back to Topic Index  

  10. Corrupt Cab
  11. For the multi-part JDK or Java 2 SDK download you need to first download all the files. Each file needs to be the exact size as indicated on the download page.

    When the header information for Windows files isn't as expected, the system gives a "corrupt cabinet file" error. Because of the multi-part download, the header is only in the 1st piece, not in any other pieces. Therefore, the OS will give errors about:

    • the first, because the size and checksum won't match the header info
    • the others, because they lack header info

    After all the files have been downloaded, they need to be linked together (concatenation instructions available by version).

    If you have downloaded the binary as one large piece and are getting this error message, please try the following:

    • delete previous version of JDK or SDK from PATH
    • use Remove/Add from the control panel to make sure that the previous version has, in fact, been removed. You may need to edit the registry, as well
    • reboot your machine
    • reinstall
     

    Back to Topic Index  

  12. Checking the file size
  13. Some Windows system will report the downloaded file size in KB instead of actual file size in bytes. For better verification, you can use the "dir" command in the directory where the file is located, or by using the "Properties" option.  

    Back to Topic Index  

  14. Decompression error
  15. If the download file size is correct, the cause of the problem may be the extractor that you are using. We suggest:
    • Make sure file size is correct.
    • Make sure you have the latest extractor
      (such as: Winzip or PKZip)
    • Make sure that you have sufficient disk space where tmp files are stored.
     

    Back to Topic Index  

  16. Linux: Getting started
  17. Related links to Java technology on the Linux Platform:  

    Back to Topic Index  

  18. WinME Installation
  19. WinME is supported by the Java 2 Standard Edtion, Software Development Kit. Please see the installation instructions:

     

    Back to Topic Index  

  20. Software available on CD-ROM
  21. The latest version of Java 2 Standard Edition is available in CD-ROM format. You can stay current with the latest updates to many Java technologies when you subscribe to Sun Developer EssentialsSM Java JumpStartTM Edition. Check on the list of features and delivery information.  

    Back to Topic Index  
 
 

[ This page was updated: 15-Mar-01 ]

Products & APIs - Developer Connection - Docs & Training - Support
Community Discussion - Industry News - Solutions Marketplace - Case Studies
Glossary - Feedback - A-Z Index

For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-2001 Sun Microsystems, Inc.
All Rights Reserved. Terms of Use. Privacy Policy.