Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: issues with setting JAVA_HOME #1315

Open
dizzzz opened this issue Mar 3, 2017 · 7 comments
Open

Windows: issues with setting JAVA_HOME #1315

dizzzz opened this issue Mar 3, 2017 · 7 comments
Assignees
Labels
bug issue confirmed as bug windows issues specific to windows
Milestone

Comments

@dizzzz
Copy link
Member

dizzzz commented Mar 3, 2017

What is the problem

There are a few issues in windows with setting the JAVA_HOME variable

  • The path cannot contain spaces
  • At startup strange messages appear:

JAVA_HOME=C:\Localdata\Program Files\Java\jdk1.8.0_121

C:\Dev\GitHub\eXist-db>bin\client.bat -l
The system cannot find the file C:\Localdata\Program.
Adding -l to JAVA_ARGS

JAVA_HOME=C:\Localdata\Progra~1\Java\jdk1.8.0_121

bin\client.bat -l
The system cannot find the file C:\XXX\Progra~1\Java\jdk1.8.0_121.
Adding -l to JAVA_ARGS

What did you expect

A clean start without JAVA_HOME errors

Describe how to reproduce or add a test

run bin\client.bat or bin\startup.bat

Context information

Please always add the following information

  • eXist-db version : eXist-db 3.0 / develop
  • Java version : Java8u121)
  • Operating system: Windows 7
  • 64 bit
  • Any custom changes in e.g. conf.xml : none
@darrelln09
Copy link

This shouldn't be that hard to fix. Adding quotes around the path where it is used in the batch file should do it.

@adamretter adamretter added this to the eXist-4.0.1 milestone Apr 6, 2018
@adamretter
Copy link
Contributor

I fixed a lot of these issues sometime ago now. Should all work, what exactly is the issue?

@darrelln09
Copy link

I get this error on startup

The system cannot find the file C:\Program.

... and the tray icon never appears.

@joewiz
Copy link
Member

joewiz commented Apr 6, 2018

@dizzzz The issue template says that the version in question is "eXist-db 3.0 / develop". Is that correct? Or did you mean "4.0.0 release" or "4.1.0-SNAPSHOT develop"?

@darrelln09
Copy link

darrelln09 commented Apr 6, 2018

My issue with this is for the 4.0.0 release. I just downloaded it today.

@dizzzz
Copy link
Member Author

dizzzz commented Apr 7, 2018

Looking at the date of the issue, the version should be accurate.

@joewiz
Copy link
Member

joewiz commented Apr 7, 2018

Sorry, I missed the year ;)

@adamretter adamretter modified the milestones: eXist-4.0.1, 4.1.1 Apr 18, 2018
@adamretter adamretter modified the milestones: eXist-4.1.1, eXist-4.2.1 Jun 6, 2018
@adamretter adamretter modified the milestones: eXist-4.2.1, eXist-4.2.2 Jun 14, 2018
@adamretter adamretter modified the milestones: eXist-4.2.2, eXist-4.3.1 Jul 7, 2018
@adamretter adamretter modified the milestones: eXist-4.3.1, eXist-4.3.2 Jul 24, 2018
@joewiz joewiz added the triage issue needs to be investigated label Sep 17, 2018
@adamretter adamretter modified the milestones: eXist-4.3.2, eXist-4.4.1 Sep 21, 2018
@duncdrum duncdrum modified the milestones: eXist-4.4.1, eXist-4.5.1 Nov 30, 2018
@duncdrum duncdrum added the windows issues specific to windows label Jan 11, 2019
@triage-new-issues triage-new-issues bot removed the triage issue needs to be investigated label Jan 11, 2019
@duncdrum duncdrum added the bug issue confirmed as bug label Jan 11, 2019
@joewiz joewiz modified the milestones: eXist-4.5.1, eXist-4.6.2 Apr 6, 2019
@joewiz joewiz removed this from the eXist-4.6.2 milestone May 24, 2019
@joewiz joewiz added this to the eXist 4.7.1 milestone May 24, 2019
@adamretter adamretter modified the milestones: eXist-4.7.1, eXist-4.7.2 Aug 14, 2019
@adamretter adamretter modified the milestones: eXist 4.8.1, eXist-4.10.1 Feb 14, 2022
@adamretter adamretter modified the milestones: eXist-4.10.1, eXist-4.11.1 Jan 11, 2023
@adamretter adamretter modified the milestones: eXist-4.11.1, eXist-4.11.3 Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue confirmed as bug windows issues specific to windows
Projects
None yet
Development

No branches or pull requests

5 participants