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.
I'm trying to generate a remote pack for glassfish on linux with a 32 bit JVM. Running calibrate.sh results in the following Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:141) Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /home/glassfish/glassfish/profiler-server-linux/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650) at java.lang.Runtime.load0(Runtime.java:769) at java.lang.System.load(System.java:968) at org.netbeans.lib.profiler.server.ProfilerServer.loadNativeLibrary(ProfilerServer.java:818) at org.netbeans.lib.profiler.server.ProfilerActivate15.activate(ProfilerActivate15.java:100) at org.netbeans.lib.profiler.server.ProfilerActivate15.premain(ProfilerActivate15.java:71) The folder it's looking for is "deployed/jdk15/linux-amd64". The folder in the remote pack is "deployed/jdk15/linux". Changing the folder name just results in another exception. Furthermore, I selected 1.6 as the target so I'm not sure why it's looking at jdk15 instead of jdk16.
It looks to me that you are running calibration on 64bit JVM - therefore it is looking for 64bit binary, but you have generated 32bit remote pack.
That was it. Thanks!