From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 2 14:21:40 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61B85106564A; Mon, 2 Apr 2012 14:21:40 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 27DF18FC14; Mon, 2 Apr 2012 14:21:39 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so4981573pbc.13 for ; Mon, 02 Apr 2012 07:21:39 -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=yFK9eiwEVlgB4dDmCLK4Py1xcRffhWFn96RawKO5m2A=; b=wUP5fNktlS/f7hJexfWCxpDO0cq1owWBHDdaJz7XdXj3H3WNGX7aOzdQmoyVdGjeoz 63yzLuQyfpjReu0w92W9fV8up5B9AW7cRFHzqENyEMMXZjajORcCch1KJl7dNhm9r3Tw LfX3wxrv6vGNUq2juS9+DZHLzLCK7u7f96+6X8rwyyQwj3dkwtSQ6CA4QM4zH0FYTBM4 +hnykFt+x3bgkhbKru/LqixZgjkNas3SDURQer0hx3KaWdcMQDsjrF+e/+OoazwHug7e KTeXsNg5hT/i3CqaLOVaXJ9ma8L7H9FtqIJw6vvEDUgi6JrLzRF7exfCiVyQrnwZxQfA CgRQ== MIME-Version: 1.0 Received: by 10.68.200.104 with SMTP id jr8mr18292110pbc.164.1333376499594; Mon, 02 Apr 2012 07:21:39 -0700 (PDT) Received: by 10.68.189.103 with HTTP; Mon, 2 Apr 2012 07:21:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Apr 2012 10:21:39 -0400 Message-ID: From: Super Bisquit To: FreeBSD PowerPC ML , freebsd-java 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-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2012 14:21:40 -0000 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.