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 that the value of one's PATH list is
the concatenation of those two ENV specifications.
So, the $64 question is: Is there some way to coerce the resulting
CLASSPATH list to also be a concatenation of both the SYSTEM
and the USER's lists?
(Hopefully, some sort of registry hack can accomplish this!?)
The reason I ask is that today, after installing a Sun 'product' called
JMF (Java Media Framework), it BROKE my existing CLASSPATH
setup. The reason it BROKE it was that BEFORE the installation,
I had my CLASSPATH defined (only) at the SYSTEM level, and it
got inherited into my USER level. But, the (stupid?) JMF kit decided
to 'add' some stuff of its own to the USER classpath, and since one
didn't exist at all, it created one and put its stuff in it.
BUT the unwanted side-effect of that (brilliant?) idea was that now
the only resulting CLASSPATH that the users have is this new one that
the kit created and all the existing entries on the SYSTEM-wide defn
of CLASSPATH now get tossed into the bit-bucket.
Any SUN Java architects out there who can rule on this? Is this a
bug or a feature of the JMF kit? (A registry hack or something similar
for a workaround would be nice.)
Cheers...
Dave 2 4112
Hi,
I don't think you can do that..... You'll have to use some tricky
methods for that.....
Quiks
--------------
BTW: For those who have to do with monitoring, check the site: http://www.metamindsolutions.com. It's a great multiplatform
monitoring solution and seems to have been adopted by large accounts
"David Cook" <(who wants to know?)> wrote in message news:<FM********************@comcast.com>... 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 that the value of one's PATH list is the concatenation of those two ENV specifications.
So, the $64 question is: Is there some way to coerce the resulting CLASSPATH list to also be a concatenation of both the SYSTEM and the USER's lists?
(Hopefully, some sort of registry hack can accomplish this!?)
The reason I ask is that today, after installing a Sun 'product' called JMF (Java Media Framework), it BROKE my existing CLASSPATH setup. The reason it BROKE it was that BEFORE the installation, I had my CLASSPATH defined (only) at the SYSTEM level, and it got inherited into my USER level. But, the (stupid?) JMF kit decided to 'add' some stuff of its own to the USER classpath, and since one didn't exist at all, it created one and put its stuff in it.
BUT the unwanted side-effect of that (brilliant?) idea was that now the only resulting CLASSPATH that the users have is this new one that the kit created and all the existing entries on the SYSTEM-wide defn of CLASSPATH now get tossed into the bit-bucket.
Any SUN Java architects out there who can rule on this? Is this a bug or a feature of the JMF kit? (A registry hack or something similar for a workaround would be nice.)
Cheers...
Dave
Interesting.......
--
All the Best,
Kelly
Microsoft-MVP Windows® XP
2004 Windows MVP "Winny" Award
Troubleshooting Windows XP http://www.kellys-korner-xp.com
Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm
"Quiks" <gr*********@metamindsolutions.com> wrote in message
news:fc*************************@posting.google.co m... Hi,
I don't think you can do that..... You'll have to use some tricky methods for that.....
Quiks -------------- BTW: For those who have to do with monitoring, check the site: http://www.metamindsolutions.com. It's a great multiplatform monitoring solution and seems to have been adopted by large accounts
"David Cook" <(who wants to know?)> wrote in message news:<FM********************@comcast.com>... 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 that the value of one's PATH list is the concatenation of those two ENV specifications.
So, the $64 question is: Is there some way to coerce the resulting CLASSPATH list to also be a concatenation of both the SYSTEM and the USER's lists?
(Hopefully, some sort of registry hack can accomplish this!?)
The reason I ask is that today, after installing a Sun 'product' called JMF (Java Media Framework), it BROKE my existing CLASSPATH setup. The reason it BROKE it was that BEFORE the installation, I had my CLASSPATH defined (only) at the SYSTEM level, and it got inherited into my USER level. But, the (stupid?) JMF kit decided to 'add' some stuff of its own to the USER classpath, and since one didn't exist at all, it created one and put its stuff in it.
BUT the unwanted side-effect of that (brilliant?) idea was that now the only resulting CLASSPATH that the users have is this new one that the kit created and all the existing entries on the SYSTEM-wide defn of CLASSPATH now get tossed into the bit-bucket.
Any SUN Java architects out there who can rule on this? Is this a bug or a feature of the JMF kit? (A registry hack or something similar for a workaround would be nice.)
Cheers...
Dave This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steven Mason |
last post by:
Here's my problem. I've certain jar files I've included in my
classpath that I need to work with. I've included these in my path
variable so when I type path at the command line I get :
...
|
by: Herman |
last post by:
Hi everyone, I recently installed the Sun J2SE SDK on my machine, and
I am having trouble running the java.exe interpreter for my Java
compiled code. I remember that I had to set my environment...
|
by: Digital Puer |
last post by:
I am writing Java user defined functions running in DB2 8 on Windows XP.
For some reason the Windows system environment CLASSPATH is not being
passed to my Java UDF (i.e. when I println the...
|
by: malcolm |
last post by:
I'm trying to make a combo box custom control (Windows Forms .NET 1.1
c#) that can behave like a label programatically at run time. This is
actually a strong feature request by our customers. I...
|
by: KevinRobinson |
last post by:
Hi,
Can anyone please tell me how to add or change a Java classpath in SUSE
Linux 9.3.
I have set up a Tomcat server but my Java Classes will not run although they
do on a windows box.
...
| |
by: BMD |
last post by:
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...
|
by: MIRRA |
last post by:
Hi
I have a UNIX script which creates a report. In that script I have to define the java classpath. Also I need to check if the java classpath specified exists or not. Below is the command i use
...
|
by: gaya3 |
last post by:
Hi,
I'm having a java class in jar file.. from java class i'm connecting to oracle..
For that i need to set the classpath for driver..
can anyone please say me how to set the class...
|
by: korean_dave |
last post by:
From command Prompt, i type in a script, "tryme.py".
This, instead, brings up PythonWin editor and Interactive Window.
Path variable is "C:\Python24". (I need Python 2.4 installed, not 2.5)
...
|
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,...
|
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...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |