Results 1 to 2 of 2
  1. #1
    coco is offline Member
    Join Date
    Jul 2007
    Posts
    39
    Rep Power
    0

    Default ERROR: Java(TM) failes to apply changes to your system

    Hi, I downloaded the j2sdk1.4.2_04, but when I installed it I got two errors
    "Java(TM) failes to apply changes to your system" and
    "Error 1722". There is a problem with this windows installer package. A program run as part of the setup did not finish as expected."

    I've tried reinstalling it.
    It looks like it all works tho, but when I compile programs all of them are named 'Utskrift.class' , which I guess would be 'Output.class' in English. It works, but I can only have one file at a time...
    Anyone know what could be wrong here?
    Oh, and the .java files should be in the same directory as java and javac right? (/bin)

    Thanks.

  2. #2
    toby is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    Are you logged on as administrator when you install the SDK? If not, the installer probably tried to change some environment variables and didn't have permissions.
    Oh, and the .java files should be in the same directory as java and javac right? (/bin)
    Not really. In fact, it's better you have them on a separate directory altogether. You need to add the /bin directory of the SDK to the path environment variable of your computer, then you'll be able to run javac and java from any directory (including the directory where you store your project's source files).

Similar Threads

  1. Accessing unix system using java
    By abhishek.sinha in forum AWT / Swing
    Replies: 3
    Last Post: 06-19-2008, 09:05 AM
  2. System.in.read(); strange error!
    By kantze in forum New To Java
    Replies: 2
    Last Post: 03-19-2008, 02:44 PM
  3. Kindly Help me to apply Stylesheet
    By AMATYA-CHANAKYA in forum Advanced Java
    Replies: 0
    Last Post: 03-18-2008, 07:30 AM
  4. Replies: 2
    Last Post: 11-24-2007, 07:25 AM
  5. How to access system calls in java
    By Albert in forum New To Java
    Replies: 1
    Last Post: 07-13-2007, 04:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •