From owner-freebsd-java@FreeBSD.ORG Mon Sep 21 07:24:34 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B10C106568B for ; Mon, 21 Sep 2009 07:24:34 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id A92A58FC1B for ; Mon, 21 Sep 2009 07:24:33 +0000 (UTC) Received: by ewy4 with SMTP id 4so2178571ewy.36 for ; Mon, 21 Sep 2009 00:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=fQAsPInXJJithdpYvZZFoxRkuN79RFdJuA8o/sJ91Nc=; b=B/v7h0r5MyMMsXB99wP9xrNaj57T/xvLYZAMR8JaB/C4cbwnG7Eyuc2woPzrVC/dmI rI5PJIrCvWh5uxmJH7q7e6OuLB6LhugQ49YYe0/FIJUqitWKcfbyxrQEmMFqphuPFWnG QOgIBn9VoOO0tDe6zudaVpkfzzLhfywC42bLI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UnEveJlzcT87ScFf5YEGiHfbUw80Eex80mEapOwacLb0QtlDy8cKvDfBZBVlAfGpAZ B+7zb+HaMB8FV7CAvJ/o3CU1p6CXpcJDUmr3NPe0tEU6AWI8Z4MK/fWy0THUZpeGmC4V kBbM35XPcNUIwg742uV2ztVOpui47WumaDLW0= MIME-Version: 1.0 Received: by 10.211.139.16 with SMTP id r16mr5145870ebn.89.1253515957431; Sun, 20 Sep 2009 23:52:37 -0700 (PDT) Date: Mon, 21 Sep 2009 02:52:37 -0400 Message-ID: From: grarpamp To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: java jar invocation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 07:24:34 -0000 Hi. Figured it was time to try out java on unix. Am I completely missing something about java or should these jars be firing off like applications with this invocation? Maybe I need a simpler app to test with? RELENG_8 i386 built 20090901 [installworld from RELENG_7] # pkg_add diablo-jre-1.6.0.07.02 javavmwrapper-2.3.3 xextproto-7.0.5 xproto-7.0.15 xtrans-1.2.3 java -jar ./Azureus4.2.0.8.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseException at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) java -jar ./freenet7-freenet-build01232.jar Exception in thread "main" java.lang.NoClassDefFoundError: com/sleepycat/je/DatabaseException Caused by: java.lang.ClassNotFoundException: com.sleepycat.je.DatabaseException at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)