Java and Fedora

Thomas Dodd ted at cypress.com
Tue Jan 13 23:21:51 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



stephan schutter wrote:
| Because the vendor assumes that you are a UNIX admin, and want to do
| everything yourself... It is like distributing Windows programs and
| expecting the user to go and edit the registry by hand to make the program
| start. --it is insane.

For a personal machine you are the admin, just as you are in Windoze.

Imagine having a program that only works if you install it in a certian
directory and that must replace system librarys (DLLs) with particular
version( but that version might break some other app you use). That's
insane.

Oh wait, that describes most Windoze software. (Try installing to a
drive other than C: because it's full. Oops, you still need 150MB on
drive C:. Ok remove some old app you no longer use. Now It doen't work
quite right. Been there done that. Won't do it again.)

| Making a symlink in the /bin folder pointing to the Java executable worked
| for me... This seems a lot simpler and global than fiddling with paths and
| variables...

And a lot harder to revert later if you need to. Using systematic
methods like /etc/profile.d are muche easier to deal with.
1) the package lists the file in /etc/profile.d as belonginging to it
2) the file can contain comments to make it obvious what package it
belongs to and what the settings there do
3) that tells users how to customize those setting if they want/need to.

Try that with M$ Windoze and the registry.

Here's one: HKEY_LOCAL_MACHINE\Software\Microsoft\Java VM\Security

ValueName=EditCustomPermissions
ValueData=00 00 00 00

What is that for? What do different values mean there?

How do I set a custom CLASS_PATH that is always used when I run java dut
doesn't affect others that use the machine? I don't think
HKEY_LOCAL_MACHINE_Software\Microsoft\Java VM\Classpath would do it.
but there is no indication that I coud set
HKEY_CURRENT_USER\Software\Microsoft\Java VM\Classpath to do it. Would
it be saved across logins? Would it append or replace the value from
HKEY_LOCAL_MACHINE?

At least I know that changing the variable in linux will 1) work,
replace the old value, and not last across logins unless I set it with
my user startup scripts.

	-Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFABH2O+mwggWqA1pQRAj+9AKDe+z6+DMq4fUMvn+x3G2Rruq1K5ACgovzE
bAY+00D2zAQKcKjNs677WDM=
=e4/1
-----END PGP SIGNATURE-----





More information about the test mailing list