Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-10-2004, 02:14 PM   PM User | #1
JPM
Regular Coder

 
Join Date: Mar 2004
Location: Norway
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
JPM is an unknown quantity at this point
Java problems

I dowloaded the j2sdk1.4.2_04, but when I innstalled 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 re-innstalling it.

It looks like it all works tho, but when I compile programs all of them are named 'Utskrift.class' , wich 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)
__________________
<JPM />
JPM is offline   Reply With Quote
Old 05-10-2004, 02:54 PM   PM User | #2
shmoove
Regular Coder

 
Join Date: Dec 2003
Posts: 367
Thanks: 0
Thanked 0 Times in 0 Posts
shmoove is an unknown quantity at this point
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).

shmoove
shmoove is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:37 PM.


Advertisement
Log in to turn off these ads.