[ https://issues.apache.org/jira/browse/KARAF-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069539#comment-15069539 ]
Fabian Lange commented on KARAF-4235: ------------------------------------- yes but start.bat sets a non empty variable, which will cause the directory existing check in karaf.bat to fail. This is what my error output confirms. The reason i wonder is that on linux it has similar code but does start with nonexistant data dir. > WIndows start script requires data dir > -------------------------------------- > > Key: KARAF-4235 > URL: https://issues.apache.org/jira/browse/KARAF-4235 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.0.3 > Reporter: Fabian Lange > Assignee: Jean-Baptiste Onofré > Fix For: 4.0.4 > > > I am observing the following problem > On linux, if I delete the data dir, it is recreated. > On Windows, if I run the start.bat, the output is: > karaf.bat: Ignoring predefined value for KARAF_HOME > karaf.bat: KARAF_DATA is not valid: > "C:\Users\Fabian\Downloads\apache-karaf-4.0.3\bin\..\data" > C:\Users\Fabian\Downloads\apache-karaf-4.0.3\bin> > I checked the difference, and right now I am actually wondering more why it > works on linux, rather than why it doesn't on windows, but I think also n > windows the data dir should be recreated. > STR: > Download Karaf 4.0.3 on windows. > unpack and delete data dir. > try to run start.bat > running karaf.bat will work however -- This message was sent by Atlassian JIRA (v6.3.4#6332)