Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-05-2007, 05:19 PM
Member
 
Join Date: Jul 2007
Posts: 39
coco is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 08:40 AM
Member
 
Join Date: Jul 2007
Posts: 40
toby is on a distinguished road
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.
Quote:
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).
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing unix system using java abhishek.sinha AWT / Swing 3 06-19-2008 09:05 AM
System.in.read(); strange error! kantze New To Java 2 03-19-2008 02:44 PM
Kindly Help me to apply Stylesheet AMATYA-CHANAKYA Advanced Java 0 03-18-2008 07:30 AM
Why does System.out.println do not need import java.io? bozovilla New To Java 2 11-24-2007 07:25 AM
How to access system calls in java Albert New To Java 1 07-13-2007 04:12 PM


All times are GMT +3. The time now is 07:41 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org