JPype...where to post questions?

Raaijmakers, Vincent (GE Infrastructure) Vincent.Raaijmakers at ge.com
Thu Jun 17 23:19:54 CEST 2004


I can't get even the 'hello world' example to work.

>>> from jpype import *
>>> startJVM("d:/Program Files/Java/j2re1.4.2/bin/client/jvm.dll", "-ea")
Picked up _JAVA_OPTIONS: -Xrunmicsupp -Xbootclasspath/a:D:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes\mic.jar
>>> java.lang.System.out.println("yo")
  File "<stdin>", line 1
    lava.lang.System.out.println("yo")
                                      ^
SyntaxError: invalid syntax
>>> foo = 1
  File "<stdin>", line 1
    foo = 1
           ^
After startJVM(...) I always get that SyntaxError.

This must be a basic stupid thing that I do. But what?
Is this the correct or a possible JPype newsgroup?

Thanks,
Vincent




More information about the Python-list mailing list