473,395 Members | 2,798 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,395 software developers and data experts.

Viewing and Changine Settings

I want to see my settings for java. How do I see the settings using set on
DOS screen??

My problem is when I type in set and nothing shows. I go to the directly
where java.exe is located and type set and nothing.

How do I change the settings like CLASSPATH

Thanks in advance

Jul 17 '05 #1
2 2121
news wrote:
I want to see my settings for java. How do I see the settings using set on
DOS screen??

My problem is when I type in set and nothing shows. I go to the directly
where java.exe is located and type set and nothing.

How do I change the settings like CLASSPATH


CLASSPATH is an environment variable. In all versions of Windows I've
checked, it can be set through the "System" applet in the control panel.
On my system (XP Home), it's on the advanced tab, reached with a button
labeled "Environment Variables". That location might be a bit different
depending on your exact operating system.

I don't know what else you mean by "settings for Java". The classpath
is the only environment variable I'm aware of that can affect the JVM.
Some other settings are controlled by command line options on the
interpreter, and Java PlugIn properties are configured with their own
control panel applet on Windows... so there's a few more places to look
for other settings besides the classpath.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Jul 17 '05 #2
"news" <j@j.cm> wrote in message
news:ez****************@nwrdny03.gnilink.net...

I want to see my settings for java. How do I see the settings
using set on DOS screen??

Type:

set

and press <ENTER>; you should find a number of items displayed:

PATH=...
CLASSPATH=...

My problem is when I type in set and nothing shows.
I go to the directly where java.exe is located and type
set and nothing.

I find this a highly unusual situation. Ordinarily, you would have at least
a couple of environment variables displayed.

How do I change the settings like CLASSPATH


To create a CLASSPATH enviorment variable where none exists, do:

set CLASSPATH=C:\XYZ;D:\ABC

and press <ENTER>.

To add information to an existing CLASSPATH [you can choose whether to place
it before or after existing data] do:

:: Before existing data
set CLASSPATH=%classpath%;C:\XYZ;D:\ABC

or:

:: After existing data
set CLASSPATH=C:\XYZ;D:\ABC;%classpath%

and press <ENTER>.

Note, though, this changes the settings for the current console window [i.e.
DOS Window] only - the settings are lost once you close it. For a more
permanent solution:

* Edit 'autoexec.bat' file to include the above statements - this
applies to older Windows versions

* Use the System applet in the Control Panel to edit Enviromnent
Variables [for W2K, and XP]

I hope this helps.

Anthony Borla
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike R | last post by:
We have an ASP page that generates a report. We have included a button on the page that allows the user to save the report as a .csv file. The button makes use of the Microsoft Common Dialog...
13
by: murali | last post by:
Hello everyone, I used absolute positioning with div tag in my website. The page looks cool as long as someone doesn't try to zoom in by increasing the text size (ctrl++ or thru changing font...
1
by: Chris | last post by:
I have reloaded my server and now cannot get my aspx files to view at all. When you browse to them you get a download dialog box for a split second and then nothing. Anyone seen this before and...
1
by: Nik Johnson | last post by:
All, using vb.NET on WinXP, I am trying to return the text of the events in the event logs from various machines on the network (using the event log class). It works to a degree, but certain...
20
by: pembeci | last post by:
I am using JavaScript to modify some text parts of a loaded document. The functions are loaded from a file at the header and run by: <body onLoad="..."> According to the the Venkman profile...
7
by: SteveB | last post by:
Being a C++ developer, I'm not used to a build performing automagically. For instance, App.config automatically being renamed and placed in the bin\debug folder and project.en-US.resx resource files...
10
by: NH | last post by:
I have a girdview with paging enabled. How can I add a message in the footer to say "Viewing records 1-15 of 45" etc Thanks
12
bartonc
by: bartonc | last post by:
Here's something cool that I just discovered (on IE7, I wonder about the others): I was viewing a long code block with some really long lines in it. Since the horizontal scroll bar was WAY of my...
3
by: Tom | last post by:
I have a PHP 4.4.7, MySql 5.0 and I.E. 7. My PHP queries the database and renders the info into html forms. Submitting the forms manipulates the data. Now, the problem is that the browsers are...
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: 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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.