Re: Installing eXist-db under Windows

Pieter Lamers <[email protected]> Wed, 6 Dec 2023 08:56:08 +0100
Newsgroups gmane.text.xml.exist
Message-ID <[email protected]>
Hi Ted (et al.),

A general practice that we have a adopted is the following:
- install the jar under C:\exist-distributions\{version}, specifying a 
separate data directory (e.g. C:\exist-data)
- make a Symbolic link to that folder using mklink /D C:\exist-db 
C:\exist-distributions\{version} - ( run our local modifications )

This makes testing a newer release and switching back and forth a bit 
easier.

Sorry Ted, that I only saw the following now in our internal documentation:

eXist must be installed underneathC:\exist-distributions, and the link to the currently used distribution must be atC:\exist-db.
Using longer directory names will result in failure to start eXist because of a Java classpath error: “error=206, The filename or extension is too long.”

As most people using Windows may use a preset default (which is 
C:\exist-db) most people don't encounter your problem. And as none of 
the core developers is on Windows, they would not think about fixing it, 
unless someone asks them politely (e.g. with an issue on GitHub and/or 
with some funding).

Best,
Pieter


On 06/12/2023 03:30, Ted Hickox wrote:
> This seems to solve my problem.  Thanks for your assistance.
>
> On Tue, Dec 5, 2023 at 11:58 AM Boris Lehečka <[email protected]> wrote:
>
>     Hello Ted,
>
>          I recommend placing eXist-db in the root directory, for
>     example in
>     "C:\eXist-db".
>
>          Best regards,
>
>          Boris Lehečka
>
>     Dne 05.12.2023 v 17:56 Ted Hickox napsal(a):
>     > I have a brand new Acer Swift 3 computer with the latest version of
>     > Windows 11 home edition installed.  I uninstalled Norton and
>     installed
>     > PC Matic.  I have two attachments in this e-mail.  The first
>     shows my
>     > Java version.  I was told it would work with eXist 6.2. And yes, I
>     > have Java 6.2 (your latest version) installed on my computer.  The
>     > other attachment shows the error I received when I tried to run
>     > bin\startup.bat as an administrator.  I hope someone here can
>     help me
>     > with all of this information.
>     >
>     >
>     > _______________________________________________
>     > Exist-open mailing list
>     > [email protected]
>     > https://lists.sourceforge.net/lists/listinfo/exist-open
>
>
>     _______________________________________________
>     Exist-open mailing list
>     [email protected]
>     https://lists.sourceforge.net/lists/listinfo/exist-open
>
>
>
> _______________________________________________
> Exist-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/exist-open

-- 
Pieter Lamers
John Benjamins Publishing Company
Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands
Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands
Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands
tel: +31 20 630 4747
web:www.benjamins.com

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open