Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92909

Re: Working with jython in openSUSE 13.2

From Laura Creighton <lac@openend.se>
Subject Re: Working with jython in openSUSE 13.2
References <87lhfer6hy.fsf@Equus.decebal.nl>
Date 2015-06-20 15:01 +0200
Newsgroups comp.lang.python
Message-ID <mailman.658.1434805301.13271.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Working with jython in openSUSE 13.2 Cecil Westerhof <Cecil@decebal.nl> - 2015-06-20 12:58 +0200
  Re: Working with jython in openSUSE 13.2 Laura Creighton <lac@openend.se> - 2015-06-20 15:01 +0200
    Re: Working with jython in openSUSE 13.2 Cecil Westerhof <Cecil@decebal.nl> - 2015-06-20 16:41 +0200

csiph-web