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 143371 - NetBeans 6.5 M1 Installation fails on MacOS 10.4.1
Summary: NetBeans 6.5 M1 Installation fails on MacOS 10.4.1
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-09 04:32 UTC by jayagopalan
Modified: 2008-12-04 10:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Install Error Screen Shot (140.57 KB, image/jpeg)
2008-08-10 09:55 UTC, jayagopalan
Details
/var/log/install.log (5.92 MB, text/plain)
2008-08-10 09:59 UTC, jayagopalan
Details
netbeans ant command output (64.57 KB, image/jpeg)
2008-08-11 04:09 UTC, jayagopalan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jayagopalan 2008-08-09 04:32:32 UTC
Hi,
     I have downloaded NetBeans 6.5 M1. The installer fails in MacOS 10.4.1. Will netbeans run in Mac OS 10.4.1 ?

Thanks,
Jay.
Comment 1 dlipin 2008-08-09 09:15:50 UTC
will you please attach /var/log/install.log file and also the screenshot of the error?
thanks.
Comment 2 jayagopalan 2008-08-10 09:55:16 UTC
Created attachment 66966 [details]
Install Error Screen Shot
Comment 3 jayagopalan 2008-08-10 09:59:09 UTC
Created attachment 66967 [details]
/var/log/install.log
Comment 4 jayagopalan 2008-08-10 10:01:02 UTC
Please find the Error Screen shot and /var/log/install.log as attached.


Thanks, Jay.
Comment 5 dlipin 2008-08-10 10:14:02 UTC
Hi,

Thanks. Looks like something wrong with ant execution...
Do you have other Ant version installed on the system?
What does "java -version" say? 1.4.2 or 1.5.0_xx ?
What does "/System/Library/Frameworks/JavaVM.framework/Home/bin/java -version" says?

There was a small issue with that and I fixed it not so long ago.
Could you please try the latest dev build to check if the issue is reproducible ?
http://bits.netbeans.org/download/trunk/nightly/latest/

Thanks,
Dmitry
Comment 6 jayagopalan 2008-08-10 18:30:05 UTC
Hi,
      The java version is 1.5.0_02-56. I did check the latest nightly build. I am getting the same Error and it is
reproducible.


Thanks,
Jay.
Comment 7 dlipin 2008-08-10 22:03:37 UTC
This JDK is quite old and buggy, I recomend to update the JDK to, at least, 1.5.0_13 (Java Release 6) - but it is 
available for Mac OS X 10.4.10 and higher.

With the current configuration, could you please open terminal and do the following:
cd /Applications/NetBeans/glassfish-v2ur2
./lib/ant/bin/ant -f setup.xml

Likely you`ll get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher

Does any of the following command works:
sh -x "./lib/ant/bin/ant --noconfig -f setup.xml"
sh -x "./lib/ant/bin/ant --noconfig -v -f setup.xml"

If none works, please attach the output of both commands.
If some command works - please let me know.
Comment 8 jayagopalan 2008-08-11 04:09:04 UTC
Created attachment 66978 [details]
netbeans ant command output
Comment 9 jayagopalan 2008-08-11 04:11:49 UTC
Hi,
    I have attached the netbeans ant command output. None of the commands work. I have ant version 1.6.2 installed in my
system. Is that causing the problem?

Thanks,
Jay.


Comment 10 dlipin 2008-08-11 11:22:53 UTC
I hope not .. but to check for sure please try the following:

cd /Applications/NetBeans/glassfish-v2ur2
./lib/ant/bin/ant --noconfig -f setup.xml

Still see NoClassDefFoundError?


I continue to think that it is the old buggy JDK and we can`t fix it in the installer.
Comment 11 dlipin 2008-08-12 15:07:10 UTC
I`ve done some fix that could help:
http://hg.netbeans.org/main/rev/bfd8095245a5

Please check the next daily build (>=200808130000).
If it still does not work, please attach the output of 
$ ls -laR /Applications/NetBeans/glassfish-v2ur2/lib/ant
and
$/Applications/NetBeans/glassfish-v2ur2/lib/ant/bin/ant --noconfig -version


Thanks,
Dmitry
Comment 12 dlipin 2008-08-31 12:13:13 UTC
jayagopalan, any update?
Comment 13 jayagopalan 2008-09-01 09:16:05 UTC
Hi, 
    I will test it this week and update you.

Thanks,
Jay.
Comment 14 dlipin 2008-12-04 10:02:32 UTC
Reporter didn't provided required information for more than 3 months. 
I'm closing this issue as worksforme as we are not able to reproduce it with the available information. 
Please, feel free to reopen when you face the problem again but attach the additional info.

Thank you for report.