Loading...

freebsd-java@freebsd.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Problems with compiling java programs on FreeBSD from ports Super Bisquit Mon Apr 02 18:00:13 2012

On Mon, Apr 2, 2012 at 10:21 AM, Super Bisquit <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Strike the -R.
>> >>
>> >> On Apr 2, 2012 4:49 AM, "Carlo Dapor" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
>> 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 <[EMAIL PROTECTED]> 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.
>> >>>> >
>> >>>> _______________________________________________
>> >>>> [EMAIL PROTECTED] mailing list
>> >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>> >>>> To unsubscribe, send any mail to "
>> [EMAIL PROTECTED]"
>> >
>> >
>>
> 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.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[EMAIL PROTECTED]"