From owner-freebsd-java@FreeBSD.ORG Tue Apr 3 00:20:06 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 473DF1065673; Tue, 3 Apr 2012 00:20:06 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 087BD8FC16; Tue, 3 Apr 2012 00:20:05 +0000 (UTC) Received: by dadz14 with SMTP id z14so12802041dad.17 for ; Mon, 02 Apr 2012 17:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=09a17ABtkGU7MZoWbCItmwZcp+9X1dweh4uWjuTJRiE=; b=m85xlkcA1GONlRmTj0DY19U2A6V0+s8owBL5oFIkFeR3g3cEAn+myyO/5d9nNdKpgp n3udu8Xyj0Mi6fbWJOn8NCEv6Q7qmqJ3f7WDgimDkKhOnkUNEJjst6NW2BEouwhs9mJo 49DmGdHAN+QzHcqUIsddh4uq5A5VtZnryocSJQMnHFojU07P1mGmYVCWgW03v2t4/b9C W2Bdl0x6gSuUINfboJVc/hWKRCJzbVfLGPOve3G1SzbHlBi0tAl9QK02zSEfzUOzXOQu hn3Tc9rbMrWskqCJUkeSnUwUkxP1T+AOtvEE6b13m0cMsMK1EcT1nXze9tsSfOEELtGc 1HWg== MIME-Version: 1.0 Received: by 10.68.125.226 with SMTP id mt2mr24234466pbb.38.1333412405179; Mon, 02 Apr 2012 17:20:05 -0700 (PDT) Received: by 10.68.189.103 with HTTP; Mon, 2 Apr 2012 17:20:05 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Apr 2012 20:20:05 -0400 Message-ID: From: Super Bisquit To: FreeBSD PowerPC ML , freebsd-java , Greg Lewis Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Problems with compiling java programs on FreeBSD from ports 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: Tue, 03 Apr 2012 00:20:06 -0000 On Mon, Apr 2, 2012 at 10:21 AM, Super Bisquit wrote: > I need to top post for reason that pasting in a message will cause the > contents to be edited out. Apologies > chipchop# find /usr/local/java/bin -type d -exec chmod 0755 {}\; > usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ... > chipchop# find /usr/local/java/bin -type d -exec chmod -v -R +x > /usr/local/java/bin/* > find: -exec: no terminating ";" or "+" > chipchop# find /usr/local/java/bin -type d -exec chmod -v -R +x > /usr/local/java/bin/* {}\; > chipchop# find /usr/local/java/jre/bin -type d -exec chmod -v -R +x > /usr/local/java/jre/bin/* {}\; > chipchop# pwd > /home/boogers/Downloads/JChessBoard-1.5 > chipchop# /usr/local/java/jre/bin/java *.jar > /usr/local/java/jre/bin/java: Exec format error. Binary file not > executable. > chipchop# > > On Mon, Apr 2, 2012 at 4:53 AM, Carlo Dapor wrote: > >> My bad. >> >> >> If you happen to be in the folder $JAVA_BIN_PATH, then you can type >> >> find . -type d -exec chmod 0755 {} \; >> >> Otherwise, this should work too: >> >> find $JAVA_BIN_PATH -type d -exec chmod 0755 {} \; >> >> >> On 2 April 2012 10:35, Super Bisquit wrote: >> > chipchop# find -type d -exec chmod 0755 {}\; >> > find: illegal option -- t >> > find: illegal option -- y >> > find: illegal option -- p >> > find: illegal option -- e >> > find: d: No such file or directory >> > chipchop# >> > >> > On Sun, Apr 1, 2012 at 10:51 PM, Carlo Dapor wrote: >> >> >> >> Strike the -R. >> >> >> >> On Apr 2, 2012 4:49 AM, "Carlo Dapor" wrote: >> >>> >> >>> Find -type d -exec chmod -R 0755 {}\; >> >>> Works like magic. >> > >> > chipchop# find -type d -exec chmod 0755 {}\; >> > find: illegal option -t >> > find: illegal option -y >> > find: illegal option -p >> > find: illegal option -e >> > find: d: no such file or directory >> > chipchop# >> > >> > Should it be find $JAVA_BIN_PATH and then the following arguments? >> > >> > When I do exec chmod 0755 $PWD in /usr/local/java/bin it then exits; I'm >> > wondering if this is normal behavior. The problem also occurs in >> > /usr/local/java/jre/bin. >> > >> > Normally, stating chmod $VALUE works; yet, maybe if I execute chmod +x >> it >> > will work better? >> > Let's see ... >> > Nope, the same thing occurs. even with ls -l /usr/local/java/bin I >> receive a >> > permission denied error. If this has anything to do with it; I've >> noticed >> > that MacOS items will have a preceding 4 plus the last three digits- >> from >> > looking at iPhone directories. >> > >> > >> >>> >> >>> On Apr 2, 2012 12:43 AM, "Super Bisquit" >> wrote: >> >>>> >> >>>> /usr/local/java/jre JChessBoard.jar >> >>>> /usr/local/java/jre permission denied >> >>>> >> >>>> I'm receiving a permission denied error even with >> >>>> /usr/local/java/jre/bin/java as root. >> >>>> >> >>>> I created a /usr/local/java directory, made the bin and jre/bin >> >>>> directories executable with chmod +x, and set permissions at chmod >> >>>> 0666 for /usr/local/java and all subdirectories. >> >>>> >> >>>> Are there any user groups that I need to add? >> >>>> >> >>>> >> >>>> >> >>>> On 4/1/12, Super Bisquit wrote: >> >>>> > It seems that all ports have a dependency on openjdk6/7 with that >> >>>> > being i386/AMD64 only. >> >>>> > I will try compiling jchessboard from source and running it after I >> >>>> > send this email. >> >>>> > >> >>>> > Mr. Davis, you are receiving this email so that you know it is not >> >>>> > spam. >> >>>> > >> >>>> _______________________________________________ >> >>>> freebsd-ppc@freebsd.org mailing list >> >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> >>>> To unsubscribe, send any mail to " >> freebsd-ppc-unsubscribe@freebsd.org" >> > >> > >> > It has progressed a little. Thanks for the help to this point, peoples. It > is appreciated. > Here is where the problem becomes apparent. file /usr/local/java/jre/bin/java /usr/local/java/jre/bin/java: Mach-o executable ppc brandelf -t FreeBSD /usr/local/java/jre/bin/java brandelf: file '/usr/local/java/jre/bin/java' is not ELF format Mr. Lewis, do you know who created the package? I'd like to be able o work with him/her to make a native FreeBSD one.