Skip to content

titemov/Lempel-Ziv-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lempel-Ziv-algorithms

This program can compress and decompress strings using LZ77 or LZ78 algorithms.

Main Window

System requirements

Java version 23.0.1

JavaFX version 23.0.1

Compilation

Windows

  1. Download latest JDK and install it (adding variables to PATH).

  2. Make sure you have javac.exe compiler C:\Users\USER\.jdks\jdk-{version}\bin\javac.exe

  3. Download latest JavaFx library and extract contents whereever it is reachable.

  4. To compile, open command line in source code directory and write
    javac.exe --module-path {Path to your javafx lib folder} --add-modules=javafx.controls Main.java

    • For example if JavaFx contents extracted to С:\Java Then command should look like this:
      javac.exe --module-path "C:\Java\javafx-sdk-23.0.1\lib" --add-modules=javafx.controls Main.java
    • If you have problems with javac.exe, try to write absolute path to javac.exe (see p.2)
  5. After compilation run Main file:
    java --module-path {Path to your javafx lib folder} --add-modules=javafx.controls Main

Linux (Debian/Ubuntu)

  1. Run sudo apt update and sudo apt upgrade

  2. Download latest JDK for your Linux system and install it.

  3. Download latest JavaFx library and extract contents whereever it is reachable.

  4. To compile, open command line in source code directory and write
    javac --module-path {Path to your javafx lib folder} --add-modules=javafx.controls Main.java

    • For example if JavaFx contents extracted to home/USER/Java Then command should look like this:
      javac --module-path "home/USER/Java/javafx-sdk-23.0.1/lib" --add-modules=javafx.controls Main.java
  5. After compilation run Main file:
    java --module-path {Path to your javafx lib folder} --add-modules=javafx.controls Main

About

Lossless data compression algorithms LZ77, LZ78 with graphical user interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages