|
All,
I've tried the jythonc compiler to try and create an applet to see how
it works, but I get a number of Java compile errors that are way above
my knowledge. Does anyone know what any of the following means? I'm
using JDK 1.5.0_09, under Win XP SP2.
Runnnig the file " jython FILENAME" works, so I don't know what's
happening. Any thoughts?
C:\EclipseWorkbench\Jython>jythonc -d --jar leaders.jar jy_leaders.py
processing jy_leaders
Required packages:
javax.swing
java.lang
java.awt
java.applet
java.util
Creating adapters:
java.awt.event.ActionListener used in jy_leaders
Creating .java files:
jy_leaders module
MyDrawPanel extends javax.swing.JPanel
Main extends java.applet.Applet
Compiling .java to .class...
Compiling with args: ['c:\\Program
Files\\Java\\jdk1.5.0_09\\bin\\javac', '-clas
spath',
'C:\\jython\\jython.jar;;.\\jpywork;;C:\\jython\\T ools\\jythonc;C:\\Ecli
pseWorkbench\\Jython\\.;C:\\jython\\Lib;C:\\jython ',
'.\\jpywork\\jy_leaders.jav
a']1 .\jpywork\jy_leaders.java:3: <identifierexpected
public class jy_leaders extends java.lang.Object {
^
..\jpywork\jy_leaders.java:8: '{' expected
public static class _PyInner extends PyFunctionTable implements
PyRunnable {
^
..\jpywork\jy_leaders.java:419: ')' expected
Py.initProxy(this, "jy_leaders", "MyDrawPanel", args, 2
jython_leaders_sandbox.jpy$packages, jy_leaders.jpy$proxyProperties
, "", new String[] {"jy_leaders"});
^
..\jpywork\jy_leaders.java:548: ')' expected
Py.initProxy(this, "jy_leaders", "Main", args, 2jython_
leaders_sandbox.jpy$packages, jy_leaders.jpy$proxyProperties, "", n
ew String[] {"jy_leaders"});
^
..\jpywork\jy_leaders.java:565: ')' expected
Py.runMain(jy_leaders._PyInner.class, newargs, 2jython_lead
ers_sandbox.jpy$packages, jy_leaders.jpy$mainProperties, "", new St
ring[] {"jy_leaders"});
^
..\jpywork\jy_leaders.java:565: ';' expected
Py.runMain(jy_leaders._PyInner.class, newargs, 2jython_lead
ers_sandbox.jpy$packages, jy_leaders.jpy$mainProperties, "", new St
ring[] {"jy_leaders"});
^
..\jpywork\jy_leaders.java:565: <identifierexpected
Py.runMain(jy_leaders._PyInner.class, newargs, 2jython_lead
ers_sandbox.jpy$packages, jy_leaders.jpy$mainProperties, "", new St
ring[] {"jy_leaders"});
^
..\jpywork\jy_leaders.java:565: '{' expected
Py.runMain(jy_leaders._PyInner.class, newargs, 2jython_lead
ers_sandbox.jpy$packages, jy_leaders.jpy$mainProperties, "", new St
ring[] {"jy_leaders"});
^
..\jpywork\jy_leaders.java:569: '}' expected
^
9 errors
ERROR DURING JAVA COMPILATION... EXITING
Any help would be of great assistance -- thanks in advance. | |
Share:
|
If you are looking for an example of jython there is one in embeded in
csound blue. available from the csounds.com website I believe. I have
used it under the new java framework. I am not far enough along to
know if you are missing brackets {} exc and () and one ; but you can
try getting the python part to work under python 2.3 https://sourceforge.net/project/show...roup_id=156455
donkeyboy wrote:
All,
I've tried the jythonc compiler to try and create an applet to see how
it works, but I get a number of Java compile errors that are way above
my knowledge. Does anyone know what any of the following means? I'm
using JDK 1.5.0_09, under Win XP SP2.
Runnnig the file " jython FILENAME" works, so I don't know what's
happening. Any thoughts?
C:\EclipseWorkbench\Jython>jythonc -d --jar leaders.jar jy_leaders.py
processing jy_leaders
Required packages:
javax.swing
java.lang
java.awt
java.applet
java.util
Creating adapters:
java.awt.event.ActionListener used in jy_leaders
Creating .java files:
jy_leaders module
MyDrawPanel extends javax.swing.JPanel
Main extends java.applet.Applet
Compiling .java to .class...
Compiling with args: ['c:\\Program
Files\\Java\\jdk1.5.0_09\\bin\\javac', '-clas
spath',
'C:\\jython\\jython.jar;;.\\jpywork;;C:\\jython\\T ools\\jythonc;C:\\Ecli
pseWorkbench\\Jython\\.;C:\\jython\\Lib;C:\\jython ',
'.\\jpywork\\jy_leaders.jav
a']1 .\jpywork\jy_leaders.java:3: <identifierexpected
public class jy_leaders extends java.lang.Object {
^
.\jpywork\jy_leaders.java:8: '{' expected
public static class _PyInner extends PyFunctionTable implements
PyRunnable {
^
.\jpywork\jy_leaders.java:419: ')' expected
Py.initProxy(this, "jy_leaders", "MyDrawPanel", args, 2
jython_leaders_sandbox.jpy$packages, jy_leaders.jpy$proxyProperties
, "", new String[] {"jy_leaders"});
^
.\jpywork\jy_leaders.java:548: ')' expected
Py.initProxy(this, "jy_leaders", "Main", args, 2jython_
leaders_sandbox.jpy$packages, jy_leaders.jpy$proxyProperties, "", n
ew String[] {"jy_leaders"});
^
.\jpywork\jy_leaders.java:565: ')' expected
Py.runMain(jy_leaders._PyInner.class, newargs, 2jython_lead
ers_sandbox.jpy$packages, jy_leaders.jpy$mainProperties, "", new St
ring[] {"jy_leaders"});
^
.\jpywork\jy_leaders.java:565: ';' expected
Py.runMain(jy_leaders._PyInner.class, newargs, 2jython_lead
ers_sandbox.jpy$packages, jy_leaders.jpy$mainProperties, "", new St
ring[] {"jy_leaders"});
^
.\jpywork\jy_leaders.java:565: <identifierexpected
Py.runMain(jy_leaders._PyInner.class, newargs, 2jython_lead
ers_sandbox.jpy$packages, jy_leaders.jpy$mainProperties, "", new St
ring[] {"jy_leaders"});
^
.\jpywork\jy_leaders.java:565: '{' expected
Py.runMain(jy_leaders._PyInner.class, newargs, 2jython_lead
ers_sandbox.jpy$packages, jy_leaders.jpy$mainProperties, "", new St
ring[] {"jy_leaders"});
^
.\jpywork\jy_leaders.java:569: '}' expected
^
9 errors
ERROR DURING JAVA COMPILATION... EXITING
Any help would be of great assistance -- thanks in advance.
| | | Er*********@msn.com wrote:
If you are looking for an example of jython there is one in embeded in
csound blue. available from the csounds.com website I believe. I have
used it under the new java framework. I am not far enough along to
know if you are missing brackets {} exc and () and one ; but you can
try getting the python part to work under python 2.3 https://sourceforge.net/project/show...roup_id=156455
donkeyboy wrote:
All,
I've tried the jythonc compiler to try and create an applet to see how
it works, but I get a number of Java compile errors that are way above
my knowledge. Does anyone know what any of the following means? I'm
using JDK 1.5.0_09, under Win XP SP2.
Runnnig the file " jython FILENAME" works, so I don't know what's
happening. Any thoughts?
[snip]
I was about to nominate somebody else for the monthly Most Astonishing
Result of Misreading a Post award, but the above just blew it away :-) | | This discussion thread is closed Replies have been disabled for this discussion. Similar topics
2 posts
views
Thread by Alexis Francart |
last post: by
|
1 post
views
Thread by rt lange |
last post: by
|
4 posts
views
Thread by angel |
last post: by
|
reply
views
Thread by gcash |
last post: by
|
3 posts
views
Thread by Jim Hargrave |
last post: by
|
6 posts
views
Thread by Mike Wimpe |
last post: by
|
12 posts
views
Thread by Mark Fink |
last post: by
|
1 post
views
Thread by ChrisW |
last post: by
| | | | | | | | | | | |