touch: cannot change times on /export/home/iktomy/.sunstudio/11-SunOS-i386/system/dontshowisw: Permission denied
/opt/SUNWspro/prod/scripts/jdk_chooser: line 131: cat: command not found
/opt/SUNWspro/prod/scripts/jdk_chooser: line 145: rm: command not found
Cannot create log file. Logging disabled.
java.io.IOException: Cannot write to file
at org.netbeans.core.TopLogging.<init>(TopLogging.java:63)
at org.netbeans.core.NonGui.parseCommandLine(NonGui.java:298)
at org.netbeans.core.Main.start(Main.java:417)
at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:79)
at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
at org.netbeans.core.NbErrorManager.notify(NbErrorManager.java:216)
at org.openide.ErrorManager$DelegatingErrorManager.notify(ErrorManager.java:390)
at org.openide.ErrorManager.notify(ErrorManager.java:173)
at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:82)
at java.lang.Thread.run(Thread.java:534)
java.lang.UnsatisfiedLinkError: /usr/jdk/.j2sdk1.4.2_08/j2se/jre/lib/i386/motif21/libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:811)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:53)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at org.netbeans.core.Main.start(Main.java:428)
at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:79)
at java.lang.Thread.run(Thread.java:534)
/opt/SUNWspro/bin/sunstudio: line 422: rm: command not found
Sun Studio 11 в OpenSolaris
При попытке запуска выдает следующую ошибку:
Код:
Поскольку пока еще полный нуб в Solaris, прошу разьяснить поподробнее, как таки студию мне запустить
Вот из лога:
Код:
*********** Exception occurred ************ at Thu Jan 01 03:00:00 EET 1970
java.lang.UnsatisfiedLinkError: /usr/jdk/.j2sdk1.4.2_08/j2se/jre/lib/i386/motif21/libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:811)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:53)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at org.netbeans.core.Main.start(Main.java:428)
[catch] at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:79)
at java.lang.Thread.run(Thread.java:534)
java.lang.NoClassDefFoundError
at java.awt.Component.<clinit>(Component.java:506)
at org.netbeans.core.NbErrorManager.notify(NbErrorManager.java:221)
at org.openide.ErrorManager$DelegatingErrorManager.notify(ErrorManager.java:390)
at org.openide.ErrorManager.notify(ErrorManager.java:173)
at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:82)
at java.lang.Thread.run(Thread.java:534)
java.lang.UnsatisfiedLinkError: /usr/jdk/.j2sdk1.4.2_08/j2se/jre/lib/i386/motif21/libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:811)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
java.lang.UnsatisfiedLinkError: /usr/jdk/.j2sdk1.4.2_08/j2se/jre/lib/i386/motif21/libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:811)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:53)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at org.netbeans.core.Main.start(Main.java:428)
[catch] at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:79)
at java.lang.Thread.run(Thread.java:534)
java.lang.NoClassDefFoundError
at java.awt.Component.<clinit>(Component.java:506)
at org.netbeans.core.NbErrorManager.notify(NbErrorManager.java:221)
at org.openide.ErrorManager$DelegatingErrorManager.notify(ErrorManager.java:390)
at org.openide.ErrorManager.notify(ErrorManager.java:173)
at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:82)
at java.lang.Thread.run(Thread.java:534)
java.lang.UnsatisfiedLinkError: /usr/jdk/.j2sdk1.4.2_08/j2se/jre/lib/i386/motif21/libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1482)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:811)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
Может кому будет интересно - расскажу
libXm.so.4 - на которую ругалась система, я нашел (нужно установить
The Motif (libXm) libraries are in SUNWmfrun (Motif runtime) ) - прочитал тут
но система не здавалась и потребовала libdps.so.5
гыгы, кагбэ подумал я и кастанул гугл 3-го уровня
вот тут нашел, что надо скачать.
SUNWarc
SUNWctpls
SUNWhea
SUNWmfrun
SUNWswmt (required for showrev.ksh)
SUNWscp (Install /usr/ucb/ps)
Поставил все (зачем - а хрен его знает)))
А библиотеку libdps.so.5 копирнул в /usr/openwin/lib/
Студия запустилась (о майн гот!), но опять кинула ошибки. Полез давать права на файлы. Но кроме этого система материлась на пока непонятную мне хрень, которую пока не поборол.
Код:
INFORMATIONAL *********** Exception occurred ************ at Sun Nov 08 03:31:36 EET 2009
Annotation: Services/org-netbeans-modules-autoupdate-Settings.settings
Annotation: File Services in Multi-Filesystem is read-only.
org.openide.filesystems.FSException: File Services in Multi-Filesystem is read-only.
at org.openide.filesystems.FSException.io(FSException.java:82)
at org.openide.filesystems.MultiFileObject.createFolder(MultiFileObject.java:852)
at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:176)
at org.openide.filesystems.MultiFileObject.writable(MultiFileObject.java:257)
at org.openide.filesystems.MultiFileObject.getOutputStream(MultiFileObject.java:488)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.try2run(SerialDataConvertor.java:686)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.run(SerialDataConvertor.java:664)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:89)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:414)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.writeDown(SerialDataConvertor.java:728)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.access$100(SerialDataConvertor.java:411)
at org.netbeans.modules.settings.convertors.SerialDataConvertor.run(SerialDataConvertor.java:259)
at org.netbeans.modules.settings.ScheduledRequest.performRequest(ScheduledRequest.java:170)
[catch] at org.netbeans.modules.settings.ScheduledRequest.run(ScheduledRequest.java:144)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)
Annotation: Services/org-netbeans-modules-autoupdate-Settings.settings
Annotation: File Services in Multi-Filesystem is read-only.
org.openide.filesystems.FSException: File Services in Multi-Filesystem is read-only.
at org.openide.filesystems.FSException.io(FSException.java:82)
at org.openide.filesystems.MultiFileObject.createFolder(MultiFileObject.java:852)
at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:176)
at org.openide.filesystems.MultiFileObject.writable(MultiFileObject.java:257)
at org.openide.filesystems.MultiFileObject.getOutputStream(MultiFileObject.java:488)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.try2run(SerialDataConvertor.java:686)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.run(SerialDataConvertor.java:664)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:89)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:414)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.writeDown(SerialDataConvertor.java:728)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.access$100(SerialDataConvertor.java:411)
at org.netbeans.modules.settings.convertors.SerialDataConvertor.run(SerialDataConvertor.java:259)
at org.netbeans.modules.settings.ScheduledRequest.performRequest(ScheduledRequest.java:170)
[catch] at org.netbeans.modules.settings.ScheduledRequest.run(ScheduledRequest.java:144)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)
В общем, если у вас анлим, а не как у меня - ставьте через пакет манагер и не мучайтесь
в общем, когла раздавал права на каталоги и файлы, кое что пропустил:)