-
Notifications
You must be signed in to change notification settings - Fork 1
Linux
Aaron K Redshaw edited this page Jun 29, 2019
·
6 revisions
This wiki is for beginners. If you are not used to compiling and running a java program, this wiki will get you up and running. By the end, you should be able to run DebtPayoff from any platform.
- How do I install Java?
- How do I download DebtPayoff?
- How do I compile DebtPayoff?
- How do I run DebtPayoff?
Each kind of Linux distribution has a different method for software installation.
- Ubuntu (Debian based):
sudo apt install default-jdk
- Fedora (RPM package manager):
dnf search openjdk
. This shows available JDK packages. You have options. Thensudo dnf install <package name>
to install the one you want.
Java is now installed.
Really, there are two main ways you can download the source code for this program: The easy way and the developer's way. I will show you both.
- In a web browser, go to https://github.com/aredshaw/DebtPayoff/tree/master/src.
- Right-click on DebtPayoff.java and select Save link as...
- Select where you want to save the code and click Save.
- First install git
- In a web browser go to https://git-scm.com/download/mac.
- Download the application there.
- Double-click on the downloaded program to install it.
- Using your terminal, navigate to where you want to save your files.
- In your web browser go to https://github.com/aredshaw/DebtPayoff. (Create a GitHub account if you have not done this yet.) Then at the top right of the DebtPayoff page, click on Fork.
- On that same page just below that click on Clone or Download and then click on the clipboard icon to the right of the URL (web address). I circled where you should click in red.
- Go back to your terminal and type:
git clone {use Command-V here to paste the URL}.
It may look something like:
git clone https://github.com/aredshaw/DebtPayoff.git
The whole project is now downloaded to your computer.
- In the command prompt go into the DebtPayoff directory
- type:
cd DebtPayoff
- Inside this directory type:
javac DebtPayoff.java
and hit enter
If it compiles correctly, just type java Debtpayoff
and the program will start.