One thing: can you try to move the JDK in another folder than Program Files (without spaces).

Regards
JB

On 07/01/2014 07:01 PM, SapnaB wrote:
Hi JB, Achim,

Iv installed Maven now and tried to start karaf 2.3.2. Same error. Here are
snippets from the cmd:

C:\Users\sapbharg>mvn --version
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
2014-06-17T19:21:4
2+05:30)
Maven home: C:\Program Files\Apache\apache-maven-3.2.2
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

D:\OSGi\apache-karaf-2.3.2>bin\karaf.bat
karaf.bat: Ignoring predefined value for KARAF_HOME
Unable to update instance pid: Child instance started but no root registered
in D:\OSGi\apache-karaf-2.3.2\instances\instance.properties
Karaf can't startup, make sure the log file can be accessed and written by
the user starting Karaf :
D:\OSGi\apache-karaf-2.3.2\mvn:org.apache.felix\org.apache.felix.framework\4.2.1

D:\OSGi\apache-karaf-2.3.2>echo %Path%
;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;*C:\Program
Files\Java\jdk1.6.0_24\bin*;C:\Program
Files\TortoiseSVN\bin;D:\Softwares\ANT\apache-ant-1.9.2\bin;C:\Program
Files\Apache\apache-maven-3.2.2\bin

D:\OSGi\apache-karaf-2.3.2>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_24

Wonder what Im doing wrong.

Regards,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-does-not-startup-on-Windows-7-tp4033876p4033914.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to