Hi All,

The blog shared by Vinod worked. Looks like we have to set it in .profile
file.

Thank you for the help.

Regards,

Shiva Balachandran

On Thu, Jul 2, 2015 at 7:45 PM, Milan Perera <[email protected]> wrote:

> Hi Shiva,
>
> First try *java -version* command and see you still get the version as
> the 1.7. If it is yes, that means you may have some
> simlinks in your /usr/bin for java, javac that are still linked to jdk 1.7.
>
> So remove these links first and then try to setup $JAVA_HOME environment
> variable and add $JAVA_HOME/bin to $PATH variable.
>
> Regards,
>
> On Thu, Jul 2, 2015 at 5:33 PM, Viraj Senevirathne <[email protected]>
> wrote:
>
>> Hi,
>>
>> check out this link [1] which have relevant information on the topic.It
>> says that when you install JDK-6 and JDK-7 is already installed, the
>> /usr/java links will continue to point to the JDK with the higher major
>> version. So if you want to set jdk 1.6 follow this link [2].
>>
>> [1] https://blogs.oracle.com/taylor22/entry/java_home_on_solaris_11
>>
>> [2] https://docs.oracle.com/cd/E36784_01/html/E36802/gnztu.html
>>
>> Thanks,
>>
>> On Thu, Jul 2, 2015 at 5:14 PM, Shiva Balachandran <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> Im trying to setup and run WSO2 APIM on Solaris, I am unable to
>>> configure JAVA HOME. The OS comes with JRE 1.7.0. Therefore i tried
>>> launching the server without specifying the JAVA_HOME in .bashrc, but i get
>>> the error, JAVA_HOME Not defined.
>>>
>>> Then, downloaded JDK 1.6.45 and extracted the pack and set the
>>> $JAVA_HOME in .bashrc, and still i get the same error after sourcing and
>>> restarting the VM.
>>>
>>> Anyone configured and run WSO2 products on Solris 11? Need to know the
>>> right way to set the JAVA_HOME.
>>>
>>> Thank you.
>>>
>>> Regards,
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>> Blog - https://shivabalachandran.wordpress.com/
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Viraj Senevirathne
>> Software Engineer; WSO2, Inc.
>>
>> Mobile : +94 71 818 4742 <%2B94%20%280%29%20773%20451194>
>> Email : [email protected] <[email protected]>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Milan Harindu Perera
> Software Engineer
> *WSO2, Inc*
> (+94) 77 309 7088
> lean . enterprise . middleware
> <http://lk.linkedin.com/in/milanharinduperera>
>



-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to