### Changement JDK pour le Fuss-client et Tomcat8 

## Decompressions Zips
# Decompression vers Fuss
C:\JavaFussTomcat\7z.exe x "C:\JavaFussTomcat\jdk8_341.zip" -o"D:\Fuss-client" -y

# Decompression dans Tomcat8
C:\JavaFussTomcat\7z.exe x "C:\JavaFussTomcat\jdk8_341.zip" -o"D:\Tomcat8" -y

## Stop Service Fuss
net stop FussClient

Start-Sleep -Seconds 60

## Suppression Service32
start D:\fuss-client\supprimeService.bat

Start-Sleep -Seconds 10

## Add Ligne Jvm (FUSS)
add-content -path "D:\Fuss-client\service64.ini" `n"vm.location=D:\fuss-client\jdk8_341\jre\bin\server\jvm.dll"
add-content -path "D:\Fuss-client\service.ini" `n"vm.location=D:\fuss-client\jdk8_341\jre\bin\server\jvm.dll"

# Modification Bat Fuss-client
(Get-Content "D:\Fuss-client\fuss-client.bat") -replace "java","D:\fuss-client\jdk8_341\bin\java" | Set-Content "D:\Fuss-client\fuss-client.bat"

## Creation Service64
start D:\fuss-client\creeService64.bat

Start-Sleep -Seconds 10

## Reload Certificat
start C:\JavaFussTomcat\certif.bat

Start-Sleep -Seconds 10

## Start Service Fuss
net start FussClient