Date: Mon, 2 Apr 2012 20:20:05 -0400 From: Super Bisquit <superbisquit@gmail.com> To: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, freebsd-java <freebsd-java@freebsd.org>, Greg Lewis <glewis@eyesbeyond.com> Subject: Re: Problems with compiling java programs on FreeBSD from ports Message-ID: <CA%2BWntOs%2BL6mgN2T9UY_yvNNrkvfvPo1pynfdtXhCGZ6ydRe9jQ@mail.gmail.com> In-Reply-To: <CA%2BWntOuiH4MighOSb6BjfjBybtFOFTNAKx%2Bt4Ys3BmxLfaKVHA@mail.gmail.com> References: <CA%2BWntOv04zZB%2B7CgfpcGaEQHiTqf58BT0ZmwAEwRAROP%2BnrNrg@mail.gmail.com> <CA%2BWntOvsN5yb2sWJpb8qb_KtK2o5AVx6vxmgED33rG7o8i-z0Q@mail.gmail.com> <CAMLunXRmtOza8mHVOoG15w=-ZkssUoyK8Wi-cW-9DbE5drnQZg@mail.gmail.com> <CAMLunXS6YB6Zox2AHf-MNxNQRFa-PNSvTp_%2BF3Ut%2BETdB=FkEA@mail.gmail.com> <CA%2BWntOt0aZWOwMeemJ12GmrQtUmsR-J9XXQ%2B-j-JZoNgi9r2KQ@mail.gmail.com> <CAMLunXR4Oux5cDwVcu55CSKKLdiSTtxH%2BkMXUuQybp5uYG8sCw@mail.gmail.com> <CA%2BWntOuiH4MighOSb6BjfjBybtFOFTNAKx%2Bt4Ys3BmxLfaKVHA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 2, 2012 at 10:21 AM, Super Bisquit <superbisquit@gmail.com>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 <catull@gmail.com> 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 <superbisquit@gmail.com> 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 <catull@gmail.com> wrote: >> >> >> >> Strike the -R. >> >> >> >> On Apr 2, 2012 4:49 AM, "Carlo Dapor" <catull@gmail.com> 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" <superbisquit@gmail.com> >> 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 <superbisquit@gmail.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BWntOs%2BL6mgN2T9UY_yvNNrkvfvPo1pynfdtXhCGZ6ydRe9jQ>