TakamakaSimpleWallet
Takamaka Simple Wallet for tester
This guide explains the steps necessary to try the Takamaka simple wallet. The only requirement to be able to run the wallet is Java JDK 13. The wallet jar file includes all the dependencies necessary for execution.
Install JDK 13
Ubuntu / Debian / Kali linux
- Switch to superuser
sudo su
- Look for the exact command for installing jdk 13. Minor versions are not important.
query
apt search jdk
resultopenjdk-13-jre/kali-rolling,now 13.0.2+8-2 amd64
- Install the latest available version of java 13
apt install openjdk-13-jre
- Let's configure the default version of java for the system
update-alternatives --config java
Look for an option that looks like this. The path may vary slightly depending on the version of the operating system in use.2 /usr/lib/jvm/java-13-openjdk-amd64/bin/java 1311 manual mode
- Select the option with the keywords
jdk
,13
,manual mode
- Check the correct installation with the
java -version
command. The output should look like this with any different minor version numbers.openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment (build 13.0.2+8-Debian-2)
OpenJDK 64-Bit Server VM (build 13.0.2+8-Debian-2, mixed mode)
MacOSX Catalina
Installation
- Open Safari
- Go to https://www.oracle.com/java/technologies/javase-jdk13-downloads.html to download the latest version of Java JDK 13
- Choose the link that has the title macOS Installer and click on the file name
jdk-13.##.###_osx-x64_bin.dmg
(where instead of the # there are the numbers related to the current version) - Accept the license by ticking the box and click on the green writing
Download jdk-13.##.###_osx-x64_bin.dmg
- If required, allow the download from oracle.com
- At the end of the download, in the list of downloaded files at the bottom right of the screen, there will be a file called
jdk-13.##.###_osx-x64_bin.dmg
. Click on the file. - At this point a window will appear with a single package called
JDK 13.0.2.pkg
. Double click to start the installation. - In the next window click "continue" then "install".
- You will be asked for your user password to proceed with the installation.
- Once inserted, the installation should proceed by itself until the message "Install Succeeded"
- Click on "close" and then "move to Bin" to finish the procedure.
Verify the installation
- use the combination
⌘ + Space
to open the application search. - In the window that appears, type
terminal
and press enter. - in the terminal type the command
java -version
the result should be a writing in which the line13.##.###
appears.
Windows 10
Installation
The Java Development Kit (JDK), officially named "Java Platform Standard Edition" or "Java SE", is needed for writing Java programs. The JDK is freely available from Sun Microsystems (now part of Oracle). The mother site for JDK (Java SE) is http://www.oracle.com/technetwork/java/javase/overview/index.html.
1. First Step Un-install older versions of JDK if any.
2. Second Step
- Go to @ http://www.oracle.com/technetwork/java/javase/downloads/index.html.
- Under "Java Platform, Standard Edition" ⇒ "Java SE 13.0.{x}", where {x} denotes a fast running security-update number ⇒ Click the "Oracle JDK Download" button.
- Under "Java SE Development Kit 13.0.{x}" ⇒ Check "Accept License Agreement".
- Choose the JDK for your operating system, i.e., "Windows". Download the "exe" installer (e.g., "
jdk-13.0.{x}_windows-x64_bin.**exe**
" - about 159MB).
3. Third Step - Start installing the JDK.
- Run the installer (e.g., "
jdk-13.0.{x}_windows-x64_bin.exe
"), which installs both the JDK and JRE. - By default, JDK is installed in directory "
C:\Program Files\Java\jdk-13.0.{x}
", where{x}
denotes the update number. Accept the defaults and follow the screen instructions to install JDK. - Use your "File Explorer", navigate to
"C:\Program Files\Java"
to inspect the sub-directories. Take note of your JDK installed directoryjdk-13.0.{x}
, in particular, the update number{x}
, which you will need in the next step. I will refer to the JDK installed directory as<JAVA_HOME>
, hereafter, in this article.
4. Fourth Step - Include JDK's "bin" Directory in the PATH
Windows' (CMD
) is in charge for searching the current directory and the directories listed in the PATH
environment variable (or system variable) for executable programs. JDK's programs (such as Java compiler "javac.exe
" and Java runtime "java.exe
") reside in the sub-directory "bin
" of the JDK installed directory. You need to include JDK's "bin
" in the PATH
to run the JDK programs.
Some steps To edit the PATH
environment variable in Windows 10:
- Start, Control Panel -> System -> Click "Advance system settings"
- Go to "Advanced" tab -> Click "Environment Variables" button.
- Through "System Variables" Pane, select variable "Path"-> Click "Edit...".
- For Windows 10
You shall see a TABLE listing all the existing PATH entries (if not, goto next step). Click "New" -> Click "Browse" and navigate to your JDK's "bin
" directory, i.e., "c:\Program Files\Java\jdk-13.0.{x}\**bin**
", where{x}
is your installation update number -> Select "Move Up" to move this entry all the way to the TOP. - For Older Windows 10
(ATTENTION: Press "Apply" or "OK" when you are sure. There is no UNDO process!!!)
(Just in case, copy the content of the "Variable value" to Notepad before changing it!!!)
In "Variable value" field, APPEND "c:\Program Files\Java\jdk-13.0.{x}\bin
" (where{x}
is your installation update number) IN FRONT of all the existing directories, followed by a semi-colon (;
) to separate the JDK's bin directory from the rest of the existing directories. DO NOT DELETE any existing entries; otherwise, some existing applications may not run. Variable name : PATH Variable value : c:\Program Files\Java\jdk-13.0.{x}\bin;[do not delete exiting entries...]
Verify the installation
- Fifth Step - Verify the correct installation. Click "Start" button -> Windows System -> Command Prompt
Invoke "
path
" command to list the contents of thePATH
environment variable.Check to make sure that your JDK's "
bin
" is listed in thePATH
. "path
" "PATH=c:\Program Files\Java\jdk-13.0.{x}\bin;other entries...
"Issue the following commands to verify that JDK/JRE are properly installed and display their version:
javac -version javac 13.0.1
java - version
java version "13.0.1" 2019-10-15
Java(TM) SE Runtime Environment (build 13.0.1+9)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
Get the wallet jar
The most recent version of the wallet is available at https://downloads.takamaka.dev/FILES/takamakachain-1.0-SNAPSHOT-jar-with-dependencies.jar
Linux
- Go to the folder where you want to download the wallet
- Download the latest jar
wget https://downloads.takamaka.dev/FILES/takamakachain-1.0-SNAPSHOT-jar-with-dependencies.jar
- Run the jar with the command
java -jar takamakachain-1.0-SNAPSHOT-jar-with-dependencies.jar com.h2tcoin.takamakachain.utils.simpleWallet.SimpleWallet
MacOSX Catalina
- Go to the folder where you want to download the wallet
- Download the latest jar
curl https://downloads.takamaka.dev/FILES/takamakachain-1.0-SNAPSHOT-jar-with-dependencies.jar --output takamakachain-1.0-SNAPSHOT-jar-with-dependencies.jar
- Run the jar with the command
java -jar takamakachain-1.0-SNAPSHOT-jar-with-dependencies.jar com.h2tcoin.takamakachain.utils.simpleWallet.SimpleWallet
Windows 10
Download the wallet from the following link. https://downloads.takamaka.dev/FILES/takamakachain-1.0-SNAPSHOT-jar-with-dependencies.jar
Go to the folder where you downloaded the wallet.
Run the downloaded JAR wallet with the following comand from Windows (
CMD
), opening the path where the jar wallet is situated."java -jar takamakachain-1.0-SNAPSHOT-jar-with-dependencies.jar com.h2tcoin.takamakachain.utils.simpleWallet.SimpleWallet
"