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 26548 - IDE launcher doesn't run updater
Summary: IDE launcher doesn't run updater
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-16 09:09 UTC by L Martinek
Modified: 2008-12-22 23:26 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description L Martinek 2002-08-16 09:09:51 UTC
After downloading and restarting IDE, dialog with
text "Can't find org/netbeans/updater/UpdaterFrame
class" appears. Updater isn't executed and modules
aren't installed.

It's probably related to merge from
patched_bytecode branch.

I will remove autoupdate tests from daily
execution, because they block all testing.
Comment 1 akemr 2002-08-16 09:42:19 UTC
Problem starts in night build 200208150100 and seems to
be in launcher, which cannot start updater (lib/updater.jar isn't
probably in updater classpath)

Jesse, I found your commit (#26126: preserve API compatibility using
on-the-fly bytecode patching.) in changelog of this build (changing
launchers, deleting lines defining updater classpath).

I'm reassigning, please reassign back if I'm wrong.
Comment 2 Jesse Glick 2002-08-16 14:43:52 UTC
There's probably not much I can do on Windows - while I have a Win
installation for emergencies, I don't have a C compiler for it. It
seems to work fine for me on Linux.

The merge of the branch did include a merge of runide.exe, apparently
made by Vita at Yarda's request and integrated into the branch by him.

Note that I made a few other misc. cleanup changes in runide.cpp in
the trunk, but have not been able to compile/test them, maybe Vita can
check that they work as expected (should match the Unix launcher). If
I'm lucky, maybe those changes in fact fix this bug.

Quick summary for Vita: the JVM classpath when running the IDE itself
should contain only lib/ext/*.{zip,jar} and
lib/ext/locale/*.{zip,jar}. Nothing from lib/. When running the
updater, it of course needs lib/updater.jar and
lib/locale/updater_*.jar. It also needs at least lib/ext/xml-apis.jar
and either crimson.jar or xerces.jar from lib/ext/ - so most simply,
just add the updater to the IDE's classpath.
Comment 3 Vitezslav Stejskal 2002-08-17 12:38:38 UTC
I've recompiled runide.exe, runidew.exe and they seem to work correctly. Updater is launched when needed. 
Jesse, thanks for patch.
Comment 4 Marian Mirilovic 2003-01-29 13:42:36 UTC
verified in [nb_dev](20030129)