db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6822) Running setEmbeddedCP gives error saying "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable"
Date Wed, 24 Feb 2016 07:40:18 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15160318#comment-15160318
] 

Bryan Pendleton commented on DERBY-6822:
----------------------------------------

I was unable to reproduce this.

I went through the instructions in the DerbyTut/install_software.html page, and they all worked
for me.

Setting DERBY_INSTALL worked fine.

C:\Users\Bryan\derby\issues\DERBY-6822>set DERBY_INSTALL=C:\Users\Bryan\derby\issues\DERBY-6822\db-derby-10.12.1.1-bin\db-derby-10.12.1.1-bin

C:\Users\Bryan\derby\issues\DERBY-6822>cd %DERBY_INSTALL%\bin

C:\Users\Bryan\derby\issues\DERBY-6822\db-derby-10.12.1.1-bin\db-derby-10.12.1.1-bin\bin>setEmbeddedCP

C:\Users\Bryan\derby\issues\DERBY-6822\db-derby-10.12.1.1-bin\db-derby-10.12.1.1-bin\bin>SET
DERBY_HOME=C:\Users\Bryan\derby\issues\DEEF30~1\DB-DER~1.1-B\DB-DER
~1.1-B

C:\Users\Bryan\derby\issues\DERBY-6822\db-derby-10.12.1.1-bin\db-derby-10.12.1.1-bin\bin>set
CLASSPATH=C:\Users\Bryan\derby\issues\DEEF30~1\DB-DER~1.1-B\DB-DER~1.1-B\lib\derby.jar;C:\Users\Bryan\derby\issues\DEEF30~1\DB-DER~1.1-B\DB-DER~1.1-B\lib\derbytools.jar;C:\Users\Bryan\derby\issues\DEEF30~1\DB-DER~1.1-B\DB-DER~1.1-B/lib/derbyoptionaltools.jar;

C:\Users\Bryan\derby\issues\DERBY-6822\db-derby-10.12.1.1-bin\db-derby-10.12.1.1-bin\bin>java
org.apache.derby.tools.sysinfo
------------------ Java Information ------------------
Java Version:    1.8.0_74
...


> Running setEmbeddedCP gives error saying "Error: DERBY_HOME is not set. Please set the
DERBY_HOME environment variable"
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6822
>                 URL: https://issues.apache.org/jira/browse/DERBY-6822
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.11.1.1
>            Reporter: Chamila Dilshan Wijayarathna
>            Priority: Blocker
>
> When derby ran in embedded mode as mentioned in https://db.apache.org/derby/papers/DerbyTut/install_software.html#derby_install,
it gives error saying "Error: DERBY_HOME is not set. Please set the DERBY_HOME environment
variable". THis can be fixed by creating another path variable "DERBY_HOME" with same value
given for DERBY_INSTALL.
> Either documentation should be changed to set DERBY_HOME at installation or code should
be change to read value from DERBY_INSTALL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message