xixogo5105 / uiptv

UIPT - A java based IPTV player
GNU General Public License v3.0
10 stars 5 forks source link

Compile for windows #3

Open wadixx opened 2 months ago

wadixx commented 2 months ago

I'm not familiar with java. Took my chance but couldn't figure it out. Can you compile it for windows please?

xixogo5105 commented 2 months ago

you need to have JDK installed as well as JDK path configured (under Environment Variables) to verify if java is configured properly, open you terminal and type: java --version if you see output like below:

java 17.0.9 2023-10-17 LTS Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201) Java HotSpot(TM) 64-Bit Server VM (build 17.0.9+11-LTS-201, mixed mode, sharing)

then download the binary (x86_64) from https://github.com/xixogo5105/uiptv/releases/download/uiptv-logo/windows-uiptv.zip extract the binary files into a folder and then go to that folder/directory in the terminal and run the below command.

java --module-path .\lib --add-modules=javafx.controls -jar .\UIPTV.jar

xixogo5105 commented 2 months ago

compilation should also be very simple just download maven and configure it

to verify if it installed properly type: mvn --version you should see a message like this:

Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39) Maven home: X:\Programs\apache-maven-3.8.8 Java version: 17.0.9, vendor: Oracle Corporation, runtime: X:\Programs\jdk-17.0.9 Default locale: en_GB, platform encoding: Cp1252 OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

then go to source code folder and type "mvn clean install" that all. additional details regarding the files to copy are present on the home page