On Nov 20, 2007, at 6:31 AM, Alexander Babaev wrote:
Hi!
I've compiled amd64 version (on Leopard) and trying to start
debugging session
(from IntelliJ Idea). But I get
FATAL ERROR in native method: JDWP No transports initialized,
jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196)
ERROR: transport library not found: dt_socket
ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_LOAD(509)
JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports
initialized [../../../src/share/back/debugInit.c:690]
Disconnected from server
Thanks for the report. Curtis Standfield noted that j2se/src/solaris/
back/linker_md.c hadn't been updated to use Apple's ".dylib"
extensions. With a fix in place, I'm able to run the debugger: http://hg.bikemonkey.org/javasrc_1_6_jrl_darwin/rev/7d68d77bbe56
But I can't find full scripting (Rhino) support in compiled
package... Why isn't
it there? Or I have to turn on some flags during compilation?
I'm looking into integrating a solution. As a work-around, there is a
BSD-licensed javascript JSR223 engine implementation, using Rhino,
available via: https://scripting.dev.java.net/
We have built and tested with Rhino version 1.6 release 5. There is a
Rhino based JavaScript engine bundled in JDK 6 (http://
jdk6.dev.java.net).
The JDK 6 bundled version is based on Rhino 1.6 release 2. Unlike JDK
6 bundled engine, all Rhino features (optimizer, E4X) are enabled in
this version.
This seems to work fine as a drop-in replacement for Sun's
sun.org.mozilla code; JS Hello World using Rhino 1.6r5 and the
Scripting package:
java -cp ~/Downloads/jsr223/javascript/build/js-engine.jar:/tmp/
rhino1_6R7/js.jar:. EvalScript
Found engine factory:
com.sun.phobos.script.javascript.RhinoScriptEngineFactory
Found engine factory:
com.sun.phobos.script.javascript.EmbeddedRhinoScriptEngineFactory
Hello, World
Thanks!
-landonf
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden