Personal tools
User menu

Installation Windows

From Ancestris Free Genealogy Program

Jump to: navigation, search

If necessary, this page provides useful details during the installation of Ancestris on a Windows system.



Swap between different Java versions


You will need to create a BAT file for each Java version you want to keep. Create the following BAT files using your favorite text editor. Then put them in a folder included in your PATH.

JAVA8.BAT

@echo off
echo Setting JAVA_HOME
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_12
echo setting PATH
set PATH=C:\Program Files\Java\jdk1.8.0_12\bin;%PATH%
echo Display java version
java -version



JAVA10.BAT

@echo off
echo Setting JAVA_HOME
set JAVA_HOME=C:\Program Files\Java\jdk1.10.0_11
echo setting PATH
set PATH=C:\Program Files\Java\jdk1.10.0_11\bin;%PATH%
echo Display java version
java -version



Whn you write these files, make sure you use the proper file names for java in fron the of JAVA_HOME lines above. It will depend on the Java versions installed on your system.

hen, when you want to swap between versions, you will just ru nthe corresponding Java BAT file: JAVA8 for version 1.8, or JAVA10 for version 10. The set Java version will appear in the Terminal..

To check whether the alternative Java version has properly been set, you can also check the default version yourself. Just type java -version in a console or else go to this page.

  • This page was last modified on 13 June 2018, at 12:02.
  • This page has been accessed 308 times.