$ aptitude search jdk
p   default-jdk
                - Standard Java or Java compatible Development Kit

p   default-jdk:i386
                 - Standard Java or Java compatible Development Kit

v   default-jdk-builddep
                 -

v   default-jdk-builddep:i386
                -

p   default-jdk-doc
                - Standard Java or Java compatible Development Kit
(documentation)
p   gcj-4.6-jdk
                - gcj and classpath development tools for Java(TM)

p   gcj-4.6-jdk:i386
                 - gcj and classpath development tools for Java(TM)

p   gcj-jdk
                - gcj and classpath development tools for Java(TM)

p   gcj-jdk:i386
                 - gcj and classpath development tools for Java(TM)

v   java-jdk
                 -

v   java2-jdk
                -

v   java5-jdk
                -

v   java6-jdk
                -

v   java7-jdk
                -

v   java7-jdk:i386
                 -

v   java8-jdk
                -

p   openjdk-6-dbg
                - Java runtime based on OpenJDK (debugging symbols)

p   openjdk-6-dbg:i386
                 - Java runtime based on OpenJDK (debugging symbols)

p   openjdk-6-demo
                 - Java runtime based on OpenJDK (demos and examples)

p   openjdk-6-demo:i386
                - Java runtime based on OpenJDK (demos and examples)

p   openjdk-6-doc
                - OpenJDK Development Kit (JDK) documentation

p   openjdk-6-jdk
                - OpenJDK Development Kit (JDK)

p   openjdk-6-jdk:i386
                 - OpenJDK Development Kit (JDK)

p   openjdk-6-jre
                - OpenJDK Java runtime, using Hotspot JIT

p   openjdk-6-jre:i386
                 - OpenJDK Java runtime, using Hotspot JIT

p   openjdk-6-jre-headless
                 - OpenJDK Java runtime, using Hotspot JIT (headless)

p   openjdk-6-jre-headless:i386
                - OpenJDK Java runtime, using Hotspot JIT (headless)

p   openjdk-6-jre-lib
                - OpenJDK Java runtime (architecture independent libraries)

v   openjdk-6-jre-lib:i386
                 -

p   openjdk-6-jre-zero
                 - Alternative JVM for OpenJDK, using Zero/Shark

p   openjdk-6-jre-zero:i386
                - Alternative JVM for OpenJDK, using Zero/Shark

p   openjdk-6-source
                 - OpenJDK Development Kit (JDK) source files

p   openjdk-7-dbg
                - Java runtime based on OpenJDK (debugging symbols)

p   openjdk-7-dbg:i386
                 - Java runtime based on OpenJDK (debugging symbols)

p   openjdk-7-demo
                 - Java runtime based on OpenJDK (demos and examples)

p   openjdk-7-demo:i386
                - Java runtime based on OpenJDK (demos and examples)

p   openjdk-7-doc
                - OpenJDK Development Kit (JDK) documentation

p   openjdk-7-jdk
                - OpenJDK Development Kit (JDK)

p   openjdk-7-jdk:i386
                 - OpenJDK Development Kit (JDK)

p   openjdk-7-jre
                - OpenJDK Java runtime, using Hotspot JIT

p   openjdk-7-jre:i386
                 - OpenJDK Java runtime, using Hotspot JIT

p   openjdk-7-jre-headless
                 - OpenJDK Java runtime, using Hotspot JIT (headless)

p   openjdk-7-jre-headless:i386
                - OpenJDK Java runtime, using Hotspot JIT (headless)

p   openjdk-7-jre-lib
                - OpenJDK Java runtime (architecture independent libraries)

v   openjdk-7-jre-lib:i386
                 -

p   openjdk-7-jre-zero
                 - Alternative JVM for OpenJDK, using Zero/Shark

p   openjdk-7-jre-zero:i386
                - Alternative JVM for OpenJDK, using Zero/Shark

p   openjdk-7-source
                 - OpenJDK Development Kit (JDK) source files

v   oracle-java7-jdk
                 -

v   oracle-java8-jdk
                 -

p   oracle-jdk7-installer
                - Oracle JDK7 Installer meta package

v   sun-java6-jdk
                -

p   uwsgi-plugin-jvm-openjdk-6
                 - Java plugin for uWSGI (OpenJDK 6)

p   uwsgi-plugin-jvm-openjdk-6:i386
                - Java plugin for uWSGI (OpenJDK 6)

p   uwsgi-plugin-jwsgi-openjdk-6
                 - JWSGI plugin for uWSGI (OpenJDK 6)

p   uwsgi-plugin-jwsgi-openjdk-6:i386
                - JWSGI plugin for uWSGI (OpenJDK 6)



On Thu, Nov 7, 2013 at 1:42 PM, Krishantha Samaraweera
<[email protected]>wrote:

> Please send me the output of "aptitude search jdk" command.
>
> Thanks,
> Krishantha.
>
>
> On Thu, Nov 7, 2013 at 1:30 PM, Krishantha Samaraweera <
> [email protected]> wrote:
>
>> AFAIK, you have installed another JDK in the machine before you correct
>> the PATH variable. Can you mention the vendor and version of it ?
>>
>> Thanks,
>>
>>
>> On Wed, Nov 6, 2013 at 12:41 PM, Krishantha Samaraweera <
>> [email protected]> wrote:
>>
>>> We have seen this issue when working with interns last year. Who had
>>> installed both open jdk and sun jdk encountered this problem. Uninstalling
>>> open jdk completed solved their problem.
>>>
>>> This could be related Runtime.getRuntime() or problem with
>>> wso2server.sh. Also cold be something do with your environment. I cannot
>>> exactly say what is the reason here without debugging.
>>>
>>> Please follow the workaround provided by us for the time being and
>>> continue your work. Thanks for create a JIRA to track the problem.
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>
>>>
>>> On Wed, Nov 6, 2013 at 11:20 AM, Chamara Ariyarathne 
>>> <[email protected]>wrote:
>>>
>>>> I have set JAVA_HOME in my machine as following in the ~/.bashrc
>>>>
>>>> export JAVA_HOME=/home/chamara/Programs/Java1.6/jdk1.6.0_45
>>>> export PATH=$PATH:$JAVA_HOME/bin
>>>>
>>>> And variables set in the machine are;
>>>>
>>>> $ echo $JAVA_HOME
>>>> /home/chamara/Programs/Java1.6/jdk1.6.0_45
>>>>
>>>> $ echo $PATH
>>>>
>>>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/chamara/Programs/Java1.6/jdk1.6.0_45/bin
>>>>
>>>> In the ESB_HOME/bin/wso2server.sh when the following configuration is
>>>> present
>>>>
>>>> echo $JAVA_HOME
>>>> if [ -z "$JAVACMD" ] ; then
>>>>   if [ -n "$JAVA_HOME"  ] ; then
>>>>     if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
>>>>       # IBM's JDK on AIX uses strange locations for the executables
>>>>       JAVACMD="$JAVA_HOME/jre/sh/java"
>>>>     else
>>>>       JAVACMD="$JAVA_HOME/bin/java"            ; LINE 117
>>>>     fi
>>>>   else
>>>>     JAVACMD=java
>>>>   fi
>>>> fi
>>>>
>>>> if [ ! -x "$JAVACMD" ] ; then
>>>>   echo "Error: JAVA_HOME is not defined correctly."
>>>>   echo " CARBON cannot execute $JAVACMD"
>>>>   exit 1
>>>> fi
>>>>
>>>> I can start the esb server without any error. But when I try to run
>>>> integration tests the following error comes
>>>>
>>>> [2013-11-06 05:40:44,488]  INFO
>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>>>  /home/chamara/Programs/Java1.6/jdk1.6.0_45/bin/java
>>>> [2013-11-06 05:40:44,490]  INFO
>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>>>  Error: JAVA_HOME is not defined correctly.
>>>> [2013-11-06 05:40:44,490]  INFO
>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>>> CARBON cannot execute
>>>> /home/chamara/Programs/Java1.6/jdk1.6.0_45/bin/java/bin/java
>>>>
>>>> But if I modify the wso2server.sh as following; in the line 117;
>>>>
>>>>       JAVACMD="$JAVA_HOME"
>>>>
>>>> Then I can run the integration tests.
>>>>
>>>> What is the problem here? Is it due to some wrong java related
>>>> configuration in my machine?
>>>>
>>>> --
>>>> *Chamara Ariyarathne*
>>>> Senior Software Engineer - QA;
>>>> WSO2 Inc; http://www.wso2.com/.
>>>> Mobile; *+94772786766 <%2B94772786766>*
>>>>
>>>
>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
*Chamara Ariyarathne*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; *+94772786766*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to