More proof :)
*JAVA_HOME environment variable is set to
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home*
CARBON_HOME environment variable is set to
/Users/sameera/Work/wso2/distributions/carbon/wso2carbon-4.2.0
[2013-11-13 16:27:11,934] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2
Carbon...
[2013-11-13 16:27:11,936] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System :
Mac OS X 10.9, x86_64
*[2013-11-13 16:27:11,936] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home :
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home*
[2013-11-13 16:27:11,936] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version :
1.6.0_65
[2013-11-13 16:27:11,936] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM :
Java HotSpot(TM) 64-Bit Server VM 20.65-b04-462,Apple Inc.
.bash_profile
export
JAVA_HOME_17="/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home"
export
JAVA_HOME_16="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home"
export JAVA_HOME=$JAVA_HOME_17
On Wed, Nov 13, 2013 at 3:26 PM, Sameera Jayasoma <[email protected]> wrote:
> When I install IntellijIDEA, it asked me to install Java and I let him
> install. So it installed 1.6 in the following location
>
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
>
> Then I installed JDK 1.7 and it got installed to the following location.
>
>
> /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk
>
>
>
>
> I tried to install JDK 1.6 using the second step as described in the
> following description from [1]
>
>
> "1) As I recall, the first time you do something that needs Java the OS
> will ask if you want to install it, and version 6 is what you get.
> According to this
> page<https://blogs.oracle.com/shay/entry/installing_jdeveloper_on_mac_os>,
> typing java -version in the Terminal is enough to trigger the prompt.
>
>
> 2) For the JDK (and not the runtime), you'll need to log into
> developer.apple.com <https://developer.apple.com/downloads/index.action>,
> search for java, and download the Java for OS X 2012-006 Developer
> Package. I just did this on my MacBook and now havejavac 1.6.0_37."
>
>
>
> Thanks,
> Sameera.
>
> [1] http://stackoverflow.com/questions/13653597/jdk-6-on-mountain-lion
>
>
>
>
> On Wed, Nov 13, 2013 at 12:58 PM, Afkham Azeez <[email protected]> wrote:
>
>> From where did you download 1.6?
>>
>>
>> On Wed, Nov 13, 2013 at 12:46 PM, Sameera Jayasoma <[email protected]>wrote:
>>
>>> Yup. I did I am running both JDK 1.6 and JDK 1.7.
>>>
>>>
>>> On Wed, Nov 13, 2013 at 11:50 AM, Afkham Azeez <[email protected]> wrote:
>>>
>>>> Anybody on Mavericks figured out how to find & install JDK 1.6?
>>>>
>>>>
>>>> On Wed, Nov 13, 2013 at 9:32 AM, Asela Pathberiya <[email protected]>wrote:
>>>>
>>>>> Hi Azeez,
>>>>>
>>>>> I am sorry. I have both JDKs in machine and just see that it has been
>>>>> built success with from 1.6, (not 1.7). It means that it fails with 1.7.
>>>>> AFAIK there are some other issues when we are building 1.7. I guess we
>>>>> have mentioned it in the doc as well [1]. If we are planing to support
>>>>> for
>>>>> 1.7 to build the source, we must fix this in next release.
>>>>>
>>>>> [1] http://docs.wso2.org/display/Carbon420/Installation+Prerequisites
>>>>>
>>>>> Thanks,
>>>>> Asela.
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Nov 13, 2013 at 8:35 AM, Afkham Azeez <[email protected]> wrote:
>>>>>
>>>>>> java version "1.7.0_45"
>>>>>>
>>>>>> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
>>>>>>
>>>>>> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
>>>>>>
>>>>>>
>>>>>> On Wed, Nov 13, 2013 at 8:11 AM, Asela Pathberiya <[email protected]>wrote:
>>>>>>
>>>>>>>
>>>>>>> On Wed, Nov 13, 2013 at 6:21 AM, Afkham Azeez <[email protected]>wrote:
>>>>>>>
>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.1:compile
>>>>>>>> (default-compile) on project wss4j: Compilation failure: Compilation
>>>>>>>> failure:
>>>>>>>>
>>>>>>>> [ERROR]
>>>>>>>> /Users/azeez/projects/wso2/public2/kernel/trunk/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[10,24]
>>>>>>>> EncryptionKey is internal proprietary API and may be removed in a
>>>>>>>> future
>>>>>>>> release
>>>>>>>>
>>>>>>>> [ERROR]
>>>>>>>>
>>>>>>>> [ERROR]
>>>>>>>> /Users/azeez/projects/wso2/public2/kernel/trunk/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[11,33]
>>>>>>>> EncTicketPart is internal proprietary API and may be removed in a
>>>>>>>> future
>>>>>>>> release
>>>>>>>>
>>>>>>>
>>>>>>> We have experienced this as "[WARNING]" messages not errors.. I
>>>>>>> just tried this with JDK 1.7 and mvn clean install.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Asela.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> [ERROR]
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Afkham Azeez*
>>>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>>>>> * <http://www.apache.org/>*
>>>>>>>> *email: **[email protected]* <[email protected]>
>>>>>>>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>>>>>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>>>>>> *twitter:
>>>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>>>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>>>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>>>>>
>>>>>>>> *Lean . Enterprise . Middleware*
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks & Regards,
>>>>>>> Asela
>>>>>>>
>>>>>>> ATL
>>>>>>> Mobile : +94 777 625 933
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Afkham Azeez*
>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>>> * <http://www.apache.org/>*
>>>>>> *email: **[email protected]* <[email protected]>
>>>>>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>>>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>>>> *twitter:
>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>>>
>>>>>> *Lean . Enterprise . Middleware*
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks & Regards,
>>>>> Asela
>>>>>
>>>>> ATL
>>>>> Mobile : +94 777 625 933
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>*
>>>> *email: **[email protected]* <[email protected]>
>>>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>> *twitter:
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: [email protected]
>>> blog: http://sameera.adahas.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>>
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>*
>> *email: **[email protected]* <[email protected]>
>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>> *http://blog.afkham.org* <http://blog.afkham.org>
>> *twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> <http://lk.linkedin.com/in/afkhamazeez>*
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> Sameera Jayasoma,
> Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
> blog: http://sameera.adahas.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
--
Sameera Jayasoma,
Architect,
WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev