This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 98131 - Upgrading Java breaks everything
Summary: Upgrading Java breaks everything
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-17 01:44 UTC by jarome
Modified: 2014-02-10 14:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jarome 2007-03-17 01:44:40 UTC
Every time I upgrade Java, things like the enterprise server break. As a user, I
should not have to remember the arcane location of the JDK path in the Sun
applications. If I update Java, Sun apps should be smart enough to find the new
location.

At the very least, the configuration file should be in the root directory, not
hidden in C:\Program Files\Sun\jstudio_ent81\ide\etc\jstudio.conf, or C:\Program
Files\netbeans-5.5\etc\netbeans.conf for example.

Alternatively, the Java installer should be smart enough to search for Sun
applications and fix them.
Comment 1 dlipin 2007-03-17 08:02:53 UTC
Jarome,
Actually good point!
I am not sure that it would ever been fixed by 100% in the installer.
Nevertheless reassigning to the new installer engine. We can think about that 
in some time :)

Frankly speaking the issue has a very simple solution on the OS level - using 
symlinks. Yes, it will not work for Windows`s FAT32:) But as the hard disks 
become more and more in size, FAT dies. NTFS does work fine for your 
enhancement.
The other solution is always install Java at the same location.
Comment 2 jarome 2007-03-17 16:20:01 UTC
When I install Java on Linux, it makes a symlink to a "latest" directory. The
Windows version of Java does not! I have had problems getting symlinks to work
reliably in Windows. Java does not update my Windows PATH either when it
installs itself.

Jim Rome
Comment 3 Jiri Rechtacek 2012-10-07 12:58:26 UTC
Assigned to new owner.