In a message of Sat, 20 Jun 2015 12:58:33 +0200, Cecil Westerhof writes: >I installed Jython in openSUSE 13.2. But when calling jython I get: > /usr/bin/build-classpath: error: JAVA_LIBDIR must be set > Error: Could not find or load main class org.python.util.jython > >Does anyone have an idea what I need to do to get it working?
Go look for something called java.conf Mine is in /etc/java It looks like this: # System-wide Java configuration file -*- sh -*- # # JPackage Project <http://www.jpackage.org/> # Location of jar files on the system JAVA_LIBDIR=/usr/share/java # Location of arch-specific jar files on the system JNI_LIBDIR=/usr/lib/java # List of known java homes (used for autodetection if none is provided) JAVA_HOME_LIST=$JAVA_LIBDIR-utils/java_home.list # Root of all JVM installations JVM_ROOT=/usr/lib/jvm # Default jvm JAVA_HOME=$JVM_ROOT/java # Options to pass to the java interpreter JAVACMD_OPTS= ------- This is the version for Suse, which I think is the one you ought to have. But I am not sure if this is where you ought to find it. Laura -- https://mail.python.org/mailman/listinfo/python-list