473,387 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Configuration (path and classpath)

6
Hi all,
I have a problem configuring my system at home, what do I need in the path, and what do I need in the classpath to get java to compile and run. I have Windows 2000 and the latest download from sun.java.
It works (java) on the XP system (at work) but not at home running 2000, I'm sure something is not configured correctly.

Any help (Please)
Thanks,
BMD.
PS, Soon I will post about how to have a button load a new window with data from an txt or xls file. Got to get it running first.
Nov 12 '07 #1
6 1825
r035198x
13,262 8TB
Hi all,
I have a problem configuring my system at home, what do I need in the path, and what do I need in the classpath to get java to compile and run. I have Windows 2000 and the latest download from sun.java.
It works (java) on the XP system (at work) but not at home running 2000, I'm sure something is not configured correctly.

Any help (Please)
Thanks,
BMD.
PS, Soon I will post about how to have a button load a new window with data from an txt or xls file. Got to get it running first.
Right click My computer navigate to environment variables and add the path of your Java bin directory to your system's path variable and restart your computer.
Nov 13 '07 #2
heat84
118 100+
in windows 95/98 you can set the path permanently in autoexec. bat , you can add this line SET PATH=....... , the path to your javac.
Nov 13 '07 #3
BMD
6
I was told I need the jdk location in the path and the javac location in the calss path. I'm running very old win 2000.
Thanks for the quick replies.
BMD
Nov 14 '07 #4
r035198x
13,262 8TB
I was told I need the jdk location in the path and the javac location in the calss path. I'm running very old win 2000.
Thanks for the quick replies.
BMD
Well then have you added the Java bin directory to your path then?
Nov 14 '07 #5
heat84
118 100+
If you put the bin in your classpath , you will be home and dry.
Nov 14 '07 #6
r035198x
13,262 8TB
If you put the bin in your classpath , you will be home and dry.
The classpath specifies where to find the class files during compilation. It is different from the path which specifies where the java tools are located. The bin thus goes in the path not the classpath.
Nov 14 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Steven M. Scotten | last post by:
Hi-- I seem to have the PHP Java Bridge (2.0.5 built from tarball) working with PHP 5.0.3 (also built from tarball) on my Fedora Core 1 server with Apache 2.0.50 and I'm pretty excited about it...
2
by: Alexander Kienzle | last post by:
I'm new to Java programming. I'm developing a Servlet for tomcat which needs an external configuration file. With external I mean a file (in XML format) which is customizable and not contained in...
2
by: Hal Vaughan | last post by:
I have a program that consists of only ONE Java class. Is there any way, from within that class, that I can find where the class is on disk? In other words, can I find the path for a loaded...
2
by: David Cook | last post by:
Windows (XP and NT) allows one to specify environmental variable (such as PATH and CLASSPATH) at both the SYSTEM-wide level as well as at the per-USER level. And the behavior has always been...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.