# onlyoffice_java_example **Repository Path**: snowyan/onlyoffice_java_example ## Basic Information - **Project Name**: onlyoffice_java_example - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-07 - **Last Updated**: 2021-09-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Build instruction At first, You need to install `oracle-java8-installer` ``` sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer ``` Edit the **settings.properties** configuration file. Specify the name of your local server with the ONLYOFFICE Document Server installed ``` nano src/main/resources/settings.properties ``` Edit the following line: ``` files.docservice.url.site=https://documentserver/ ``` Install Maven: ``` apt-get install maven ``` And build: ``` mvn package ``` After it, all bin files will be passed to `./target` folder ## Build from docker Edit the **settings.properties** configuration file. Specify the name of your local server with the ONLYOFFICE Document Server installed ``` nano src/main/resources/settings.properties ``` Edit the following line. You need to change `documentserver` to your documentserver: ``` files.docservice.url.site=https://documentserver/ ``` Run next command in java example directory: ``` docker-compose up ``` After it, all bin files will be passed to `./target` folder