Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5034581
By: georgiuk

Hello again,
I investigate more the pydev code and I really need your more help if you
could.
I try to set the jython interpreter from my own rcp with pydev. If I export
the rcp application then it sets the interpreter kind of well. However, if I
run it from inside eclipse and select the jython.jar I get an exception

......
JDT not available.

The selected operation could not be completed because the JDT plugin was
not found in your configuration. The JDT (java) plugin is required for
operations that need a java interpreter (mainly for jython development).
So, if you want to use pydev to develop for JYTHON, please install the jdt
plugin (available in the Eclipse SDK). If that's not the case, please close
any project you have configured as being a jython project.
at org.python.pydev.editor.codecompletion.revisited.javaintegration.JythonModule
sManagerUtils.tryRethrowAsJDTNotAvailableException(JythonModulesManagerUtils.jav
a:39)
        at 
org.python.copiedfromeclipsesrc.JavaVmLocationFinder$1.call(JavaVmLocationFi
nder.java:71)
        at 
org.python.copiedfromeclipsesrc.JavaVmLocationFinder.findDefaultJavaExecutab
le(JavaVmLocationFinder.java:37)
        at 
org.python.pydev.runners.SimpleJythonRunner.runAndGetOutputWithJar(SimpleJyt
honRunner.java:41)
....

and if I mchange it so as to print the real exception I get
....
Error received...
java.lang.RuntimeException: java.lang.NullPointerException
java.lang.NoClassDefFoundError: org/eclipse/jdt/launching/JavaRuntime
        at 
org.python.copiedfromeclipsesrc.JavaVmLocationFinder$1.call(JavaVmLocationFi
nder.java:67)
        at 
org.python.copiedfromeclipsesrc.JavaVmLocationFinder.findDefaultJavaExecutab
le(JavaVmLocationFinder.java:37)
        at 
org.python.pydev.runners.SimpleJythonRunner.runAndGetOutputWithJar(SimpleJyt
honRunner.java:41)
        at 
org.python.pydev.ui.interpreters.JythonInterpreterManager.doCreateInterprete
rInfo(JythonInterpreterManager.java:69)
        at 
org.python.pydev.ui.interpreters.JythonInterpreterManager.createInterpreterI
nfo(JythonInterpreterManager.java:45)
        at 
org.python.pydev.ui.interpreters.AbstractInterpreterManager.getInterpreterIn
fo(AbstractInterpreterManager.java:220)
........

it seems not to find the JavaRuntime class althoug the plug-in is included in
rcp

Any hint would be realy helpful

Another issue is that if interpreter is set, and a pydev projet is created,
in the packge explorer view it doesn't appear anything. It's blank.

Best Regards
Kostas

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to