Installing Ofbiz problem on Mac

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing Ofbiz problem on Mac

xiaolou.huang@gmail.com
Hi all,

My name is Xiaolou Huang, you can call me Lor, I am a Computer Science major rising junior at Arizona State University. I have a problem about install Ofbiz on both macOSX and windows7, I would like to solve problem on mac first, since I am using macOS much often.

I have updated my java version:
    java version "9.0.4"
    Java(TM) SE Runtime Environment (build 9.0.4+11)
    Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

I read something said you need install Subversion, I used Homebrew, here is what I did:
    XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
    --with-gpg-agent
        Build with support for GPG Agent
    --with-java
        Build Java bindings
    --with-python
        Build with python support
    --without-perl
        Build without Perl bindings
   --without-ruby
        Build without Ruby bindings

    XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
    Updating Homebrew...

After Homebrew finished updating, I tried it again, still nothing showed up:
    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll loadDefault
    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$

I have watched some videos on Youtube, none of them are very helpful, does anyone know what's happening here?

Sincerely,
Lor
Reply | Threaded
Open this post in threaded view
|

Re: Installing Ofbiz problem on Mac

taher
First thing I would advise is to downgrade to java 8 and make sure
$JAVA_HOME is correctly set.

On Feb 27, 2018 8:39 PM, "[hidden email]" <[hidden email]>
wrote:

Hi all,

My name is Xiaolou Huang, you can call me Lor, I am a Computer Science
major rising junior at Arizona State University. I have a problem about
install Ofbiz on both macOSX and windows7, I would like to solve problem on
mac first, since I am using macOS much often.

I have updated my java version:
    java version "9.0.4"
    Java(TM) SE Runtime Environment (build 9.0.4+11)
    Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

I read something said you need install Subversion, I used Homebrew, here is
what I did:
    XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
    --with-gpg-agent
        Build with support for GPG Agent
    --with-java
        Build Java bindings
    --with-python
        Build with python support
    --without-perl
        Build without Perl bindings
   --without-ruby
        Build without Ruby bindings

    XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
    Updating Homebrew...

After Homebrew finished updating, I tried it again, still nothing showed up:
    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll
loadDefault
    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$

I have watched some videos on Youtube, none of them are very helpful, does
anyone know what's happening here?

Sincerely,
Lor
Reply | Threaded
Open this post in threaded view
|

Re: Installing Ofbiz problem on Mac

Michael Brohl-3
In reply to this post by xiaolou.huang@gmail.com
Have you already checked out OFBiz from svn after installing Subversion?

Regards,
Michael

> Am 27.02.2018 um 18:39 schrieb [hidden email]:
>
> Hi all,
>
> My name is Xiaolou Huang, you can call me Lor, I am a Computer Science major rising junior at Arizona State University. I have a problem about install Ofbiz on both macOSX and windows7, I would like to solve problem on mac first, since I am using macOS much often.
>
> I have updated my java version:
>    java version "9.0.4"
>    Java(TM) SE Runtime Environment (build 9.0.4+11)
>    Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>
> I read something said you need install Subversion, I used Homebrew, here is what I did:
>    XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
>    --with-gpg-agent
>    Build with support for GPG Agent
>    --with-java
>    Build Java bindings
>    --with-python
>    Build with python support
>    --without-perl
>    Build without Perl bindings
>   --without-ruby
>    Build without Ruby bindings
>
>    XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
>    Updating Homebrew...
>
> After Homebrew finished updating, I tried it again, still nothing showed up:
>    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll loadDefault
>    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
>    XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$
>
> I have watched some videos on Youtube, none of them are very helpful, does anyone know what's happening here?
>
> Sincerely,
> Lor
Reply | Threaded
Open this post in threaded view
|

Re: Installing Ofbiz problem on Mac

xiaolou.huang@gmail.com
Hi Michael,
Yes, I did. The first time, it showed up tons of file in the command, and here is the second time:

XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ svn co http://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk ofbiz-framework
Checked out revision 1825494.

Sincerely,
Lor

> On Feb 27, 2018, at 12:18 PM, Michael Brohl <[hidden email]> wrote:
>
> Have you already checked out OFBiz from svn after installing Subversion?
>
> Regards,
> Michael
>
>> Am 27.02.2018 um 18:39 schrieb [hidden email]:
>>
>> Hi all,
>>
>> My name is Xiaolou Huang, you can call me Lor, I am a Computer Science major rising junior at Arizona State University. I have a problem about install Ofbiz on both macOSX and windows7, I would like to solve problem on mac first, since I am using macOS much often.
>>
>> I have updated my java version:
>>   java version "9.0.4"
>>   Java(TM) SE Runtime Environment (build 9.0.4+11)
>>   Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>>
>> I read something said you need install Subversion, I used Homebrew, here is what I did:
>>   XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
>>   --with-gpg-agent
>>   Build with support for GPG Agent
>>   --with-java
>>   Build Java bindings
>>   --with-python
>>   Build with python support
>>   --without-perl
>>   Build without Perl bindings
>>  --without-ruby
>>   Build without Ruby bindings
>>
>>   XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
>>   Updating Homebrew...
>>
>> After Homebrew finished updating, I tried it again, still nothing showed up:
>>   XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll loadDefault
>>   XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
>>   XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$
>>
>> I have watched some videos on Youtube, none of them are very helpful, does anyone know what's happening here?
>>
>> Sincerely,
>> Lor

Reply | Threaded
Open this post in threaded view
|

Re: Installing Ofbiz problem on Mac

Michael Brohl-3
That is the latest revision, this should be ok. Please use Java 1.8 like Taher suggested and see if this works.

Regards,
Michael



> Am 27.02.2018 um 20:34 schrieb Xiaolou Huang <[hidden email]>:
>
> Hi Michael,
> Yes, I did. The first time, it showed up tons of file in the command, and here is the second time:
>
> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ svn co http://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk ofbiz-framework
> Checked out revision 1825494.
>
> Sincerely,
> Lor
>
>> On Feb 27, 2018, at 12:18 PM, Michael Brohl <[hidden email]> wrote:
>>
>> Have you already checked out OFBiz from svn after installing Subversion?
>>
>> Regards,
>> Michael
>>
>>> Am 27.02.2018 um 18:39 schrieb [hidden email]:
>>>
>>> Hi all,
>>>
>>> My name is Xiaolou Huang, you can call me Lor, I am a Computer Science major rising junior at Arizona State University. I have a problem about install Ofbiz on both macOSX and windows7, I would like to solve problem on mac first, since I am using macOS much often.
>>>
>>> I have updated my java version:
>>>  java version "9.0.4"
>>>  Java(TM) SE Runtime Environment (build 9.0.4+11)
>>>  Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>>>
>>> I read something said you need install Subversion, I used Homebrew, here is what I did:
>>>  XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
>>>  --with-gpg-agent
>>>  Build with support for GPG Agent
>>>  --with-java
>>>  Build Java bindings
>>>  --with-python
>>>  Build with python support
>>>  --without-perl
>>>  Build without Perl bindings
>>> --without-ruby
>>>  Build without Ruby bindings
>>>
>>>  XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
>>>  Updating Homebrew...
>>>
>>> After Homebrew finished updating, I tried it again, still nothing showed up:
>>>  XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll loadDefault
>>>  XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
>>>  XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$
>>>
>>> I have watched some videos on Youtube, none of them are very helpful, does anyone know what's happening here?
>>>
>>> Sincerely,
>>> Lor
>

Reply | Threaded
Open this post in threaded view
|

Re: Installing Ofbiz problem on Mac

marcopaul
Your life may be a lot easier if you use a virtual machine and stick with a linux host for ofbiz.  Also if you ever go to production with it you’ll have a much easier time.

Vagrant is probably the easiest on the dev side. I started playing with this but ran out of time.

Nice part about vagrant workflows is it makes it super-easy to move between development platforms.

I haven’t personally used the linked build below, but at first glance it looks like enough to get you going:

https://github.com/agcilantro/ofbiz <https://github.com/agcilantro/ofbiz>
https://app.vagrantup.com/agcilantro/boxes/ofbiz <https://app.vagrantup.com/agcilantro/boxes/ofbiz>

—P


> On Feb 27, 2018, at 13:46, Michael Brohl <[hidden email]> wrote:
>
> That is the latest revision, this should be ok. Please use Java 1.8 like Taher suggested and see if this works.
>
> Regards,
> Michael
>
>
>
>> Am 27.02.2018 um 20:34 schrieb Xiaolou Huang <[hidden email]>:
>>
>> Hi Michael,
>> Yes, I did. The first time, it showed up tons of file in the command, and here is the second time:
>>
>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ svn co http://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk ofbiz-framework
>> Checked out revision 1825494.
>>
>> Sincerely,
>> Lor
>>
>>> On Feb 27, 2018, at 12:18 PM, Michael Brohl <[hidden email]> wrote:
>>>
>>> Have you already checked out OFBiz from svn after installing Subversion?
>>>
>>> Regards,
>>> Michael
>>>
>>>> Am 27.02.2018 um 18:39 schrieb [hidden email]:
>>>>
>>>> Hi all,
>>>>
>>>> My name is Xiaolou Huang, you can call me Lor, I am a Computer Science major rising junior at Arizona State University. I have a problem about install Ofbiz on both macOSX and windows7, I would like to solve problem on mac first, since I am using macOS much often.
>>>>
>>>> I have updated my java version:
>>>> java version "9.0.4"
>>>> Java(TM) SE Runtime Environment (build 9.0.4+11)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>>>>
>>>> I read something said you need install Subversion, I used Homebrew, here is what I did:
>>>> XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
>>>> --with-gpg-agent
>>>> Build with support for GPG Agent
>>>> --with-java
>>>> Build Java bindings
>>>> --with-python
>>>> Build with python support
>>>> --without-perl
>>>> Build without Perl bindings
>>>> --without-ruby
>>>> Build without Ruby bindings
>>>>
>>>> XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
>>>> Updating Homebrew...
>>>>
>>>> After Homebrew finished updating, I tried it again, still nothing showed up:
>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll loadDefault
>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$
>>>>
>>>> I have watched some videos on Youtube, none of them are very helpful, does anyone know what's happening here?
>>>>
>>>> Sincerely,
>>>> Lor
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Installing Ofbiz problem on Mac

xiaolou.huang@gmail.com
In reply to this post by Michael Brohl-3
Thank you, Michael, it installed successfully when I downgrade JDK to 1.8

Sincerely,
Lor



> On Feb 27, 2018, at 12:46 PM, Michael Brohl <[hidden email]> wrote:
>
> That is the latest revision, this should be ok. Please use Java 1.8 like Taher suggested and see if this works.
>
> Regards,
> Michael
>
>
>
>> Am 27.02.2018 um 20:34 schrieb Xiaolou Huang <[hidden email]>:
>>
>> Hi Michael,
>> Yes, I did. The first time, it showed up tons of file in the command, and here is the second time:
>>
>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ svn co http://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk ofbiz-framework
>> Checked out revision 1825494.
>>
>> Sincerely,
>> Lor
>>
>>> On Feb 27, 2018, at 12:18 PM, Michael Brohl <[hidden email]> wrote:
>>>
>>> Have you already checked out OFBiz from svn after installing Subversion?
>>>
>>> Regards,
>>> Michael
>>>
>>>> Am 27.02.2018 um 18:39 schrieb [hidden email]:
>>>>
>>>> Hi all,
>>>>
>>>> My name is Xiaolou Huang, you can call me Lor, I am a Computer Science major rising junior at Arizona State University. I have a problem about install Ofbiz on both macOSX and windows7, I would like to solve problem on mac first, since I am using macOS much often.
>>>>
>>>> I have updated my java version:
>>>> java version "9.0.4"
>>>> Java(TM) SE Runtime Environment (build 9.0.4+11)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>>>>
>>>> I read something said you need install Subversion, I used Homebrew, here is what I did:
>>>> XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
>>>> --with-gpg-agent
>>>> Build with support for GPG Agent
>>>> --with-java
>>>> Build Java bindings
>>>> --with-python
>>>> Build with python support
>>>> --without-perl
>>>> Build without Perl bindings
>>>> --without-ruby
>>>> Build without Ruby bindings
>>>>
>>>> XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
>>>> Updating Homebrew...
>>>>
>>>> After Homebrew finished updating, I tried it again, still nothing showed up:
>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll loadDefault
>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$
>>>>
>>>> I have watched some videos on Youtube, none of them are very helpful, does anyone know what's happening here?
>>>>
>>>> Sincerely,
>>>> Lor
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Installing Ofbiz problem on Mac

xiaolou.huang@gmail.com
In reply to this post by marcopaul
Hi Paul,

I will definitely try this, I do need some practice on Linux. By the way, I have successfully installed ofbiz in macOSX.

Lor

> On Feb 27, 2018, at 1:49 PM, Paul Mandeltort <[hidden email]> wrote:
>
> Your life may be a lot easier if you use a virtual machine and stick with a linux host for ofbiz.  Also if you ever go to production with it you’ll have a much easier time.
>
> Vagrant is probably the easiest on the dev side. I started playing with this but ran out of time.
>
> Nice part about vagrant workflows is it makes it super-easy to move between development platforms.
>
> I haven’t personally used the linked build below, but at first glance it looks like enough to get you going:
>
> https://github.com/agcilantro/ofbiz <https://github.com/agcilantro/ofbiz>
> https://app.vagrantup.com/agcilantro/boxes/ofbiz <https://app.vagrantup.com/agcilantro/boxes/ofbiz>
>
> —P
>
>
>> On Feb 27, 2018, at 13:46, Michael Brohl <[hidden email]> wrote:
>>
>> That is the latest revision, this should be ok. Please use Java 1.8 like Taher suggested and see if this works.
>>
>> Regards,
>> Michael
>>
>>
>>
>>> Am 27.02.2018 um 20:34 schrieb Xiaolou Huang <[hidden email]>:
>>>
>>> Hi Michael,
>>> Yes, I did. The first time, it showed up tons of file in the command, and here is the second time:
>>>
>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ svn co http://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk ofbiz-framework
>>> Checked out revision 1825494.
>>>
>>> Sincerely,
>>> Lor
>>>
>>>> On Feb 27, 2018, at 12:18 PM, Michael Brohl <[hidden email]> wrote:
>>>>
>>>> Have you already checked out OFBiz from svn after installing Subversion?
>>>>
>>>> Regards,
>>>> Michael
>>>>
>>>>> Am 27.02.2018 um 18:39 schrieb [hidden email]:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> My name is Xiaolou Huang, you can call me Lor, I am a Computer Science major rising junior at Arizona State University. I have a problem about install Ofbiz on both macOSX and windows7, I would like to solve problem on mac first, since I am using macOS much often.
>>>>>
>>>>> I have updated my java version:
>>>>> java version "9.0.4"
>>>>> Java(TM) SE Runtime Environment (build 9.0.4+11)
>>>>> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>>>>>
>>>>> I read something said you need install Subversion, I used Homebrew, here is what I did:
>>>>> XIAOLOUs-MacBook-Air:~ Lor$ brew options subversion
>>>>> --with-gpg-agent
>>>>> Build with support for GPG Agent
>>>>> --with-java
>>>>> Build Java bindings
>>>>> --with-python
>>>>> Build with python support
>>>>> --without-perl
>>>>> Build without Perl bindings
>>>>> --without-ruby
>>>>> Build without Ruby bindings
>>>>>
>>>>> XIAOLOUs-MacBook-Air:~ Lor$ brew install subversion
>>>>> Updating Homebrew...
>>>>>
>>>>> After Homebrew finished updating, I tried it again, still nothing showed up:
>>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew cleanAll loadDefault
>>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$ ./gradlew ofbiz
>>>>> XIAOLOUs-MacBook-Air:apache-ofbiz-16.11.04 Lor$
>>>>>
>>>>> I have watched some videos on Youtube, none of them are very helpful, does anyone know what's happening here?
>>>>>
>>>>> Sincerely,
>>>>> Lor
>>>
>>
>