Pb. with JPython & VisiBroker

Franck Arnulfo farnulfo at cpr.fr
Wed Jun 23 13:59:00 EDT 1999


Hi,

I try to use the scripting facilities of JPython with VisiBroker for Java
ORB.
But I've a problem to make an instance of the ORB.
Here is a copy of the output :

C:\JPython-1.1beta2>set PATH
PATH=C:\jdk1.1.7B\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS

C:\JPython-1.1beta2>set CLASSPATH
CLASSPATH=C:\jdk1.1.7B\lib\classes.zip;C:\vbroker\lib\vbjorb.jar;C:\vbroker\
lib\vbjapp.jar

C:\JPython-1.1beta2>pythonjdk11
JPython 1.1beta2 on java1.1.7B
Copyright (C) 1997-1999 Corporation for National Research Initiatives
>>> from org.omg.CORBA import *
>>> orb = ORB.init(None, None)
Traceback (innermost last):
  File "<console>", line 1, in ?
NameError: ORB
>>>

And my pythonjdk11.bat file is:
----------------------------------------------------------------------------
----------------
@echo off
REM This file generated by JPython installer
REM Created on Mon Jun 21 12:36:59 CEST 1999 by ARNULFO_F
"C:\jdk1.1.7B\bin\java.exe" -Dpython.home=C:\JPython-1.1beta2 -classpath
"C:\JPython-1.1beta2\jpython.jar;%CLASSPATH%" org.python.util.jpython %1 %2
%3 %4 %5 %6 %7 %8 %9
----------------------------------------------------------------------------
----------------

Can you help me out of this trouble?
Thanks!!








More information about the Python-list mailing list