Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Installation problem

  Asked By: Kaua    Date: Jun 18    Category: Java    Views: 587
  

When I installed the j2sdk on my computer, I set the
environmental and system variables to be able to run javac from the
command line! But it doesn't work out! I should always give the full
path where the Java compiler is to run the code!What shall I do?
I have studied JDBC tutorial recently and I am trying to
access a database in SQL Server 2k. What shall I use in the url
place of the Connection.DriverManager(url,"myUsr","myPass") to get
connected to my database?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Edward Jones     Answered On: Jun 18

regarding your first question (how to set  up JDK) I would recommend to
set the PATH variable such that the JDK\bin directory is included in
the PATH.

If you work under Windows I would recommend to check whether the
changes to environment variables  have been performed only for the user
ID under which you have installed  the JDK or for all users.
Unfortunately you haven't told us in which environment you're working.

As to the JDBC question I recommend you search the archive; just one
or two weeks ago there was a similar question where some URLs were given.

 
Didn't find what you were looking for? Find more on Installation problem Or get search suggestion and latest updates.




Tagged: