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 145522 - won't start on solaris 10 and possibly opensolaris
Summary: won't start on solaris 10 and possibly opensolaris
Status: RESOLVED DUPLICATE of bug 145387
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 06:31 UTC by Ken Frank
Modified: 2008-12-22 14:37 UTC (History)
0 users

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 Ken Frank 2008-08-29 06:31:56 UTC
please put in the category for startup scripts ...

using 0828 build (comparing to 0824 build) and get error messages about fgrep incorrect option
when starting nb on solaris 10; possbily will happen on opensolaris, not sure about linux.

reason is that platform9/lib/nbexec has fgrep -q instead of grep that was in 0824.

it seems that -q is not valid option for fgrep of /usr/bin/fgrep but is a valid one for /usr/xpg4/bin/fgrep
but even when the /usr/xpg4/bin is first in path, the error still happens and when hardcoded into the
nbexec the errors still happen

when the -q is removed, it starts ok.

errors are

fgrep [-c|-l|-q] [-bhinsvx] [-e pattern]... -f pattern_file [file...]
Usage:  fgrep [-c|-l|-q] [-bhinsvx] [file ...]
fgrep [-c|-l|-q] [-bhinsvx] -e pattern... [-f pattern_file]...[file...]
fgrep [-c|-l|-q] [-bhinsvx] [-e pattern]... -f pattern_file [file...]
Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/Main
Comment 1 Peter Pis 2008-09-01 11:18:15 UTC
Reassigning to nbi.
Comment 2 dlipin 2008-09-01 12:11:41 UTC

*** This issue has been marked as a duplicate of 145387 ***