Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'root': 0.04; 'error:': 0.05; '-*-': 0.07; '-------': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:python-list': 0.10; 'interpreter': 0.15; '>does': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'system- wide': 0.16; 'laura': 0.18; 'load': 0.20; 'cc:addr:python.org': 0.21; 'cc:2**1': 0.22; 'java': 0.22; 'pass': 0.22; '2015': 0.23; 'sat,': 0.23; 'this:': 0.23; 'header:In-Reply-To:1': 0.24; 'idea': 0.26; 'installed': 0.26; '+0200,': 0.27; 'options': 0.28; 'looks': 0.29; '(used': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'anyone': 0.32; 'class': 0.33; 'skip:/ 20': 0.33; 'skip:j 20': 0.33; 'file': 0.34; 'could': 0.35; 'mine': 0.35; 'something': 0.35; 'list': 0.35; 'skip:o 20': 0.35; 'but': 0.36; 'url:org': 0.36; 'project': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'version': 0.38; 'files': 0.38; 'sure': 0.40; 'where': 0.40; 'subject:with': 0.40; 'called': 0.40; 'default': 0.61; 'header :Message-Id:1': 0.62; 'received:89': 0.80; 'cecil': 0.84; 'westerhof': 0.84; 'have.': 0.93 To: Cecil Westerhof cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Working with jython in openSUSE 13.2 In-Reply-To: Message from Cecil Westerhof of "Sat, 20 Jun 2015 12:58:33 +0200." <87lhfer6hy.fsf@Equus.decebal.nl> References: <87lhfer6hy.fsf@Equus.decebal.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3998.1434805272.1@fido> Date: Sat, 20 Jun 2015 15:01:12 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Sat, 20 Jun 2015 15:01:20 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434805301 news.xs4all.nl 2847 [2001:888:2000:d::a6]:60171 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92909 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 # 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