How To Set Up The Magtek Universal Project; How To Download And Set Up The Magtek Universal Java Project; How To Set Up The Java Library With The Jre/Jvm; How To Modify Manifest - Magtek Universal SDK Programmer's Manual

Table of Contents

Advertisement

2 - How to Set Up the MagTek Universal Project

2
How to Set Up the MagTek Universal Project
2.1

How to Download and Set Up the MagTek Universal Java Project

To set up the MT Universal Libraries, follow these steps:
1) Download the 1000008300-Web.zip, available from MagTek.com
2.2

How to Set Up the Java Library With the JRE/JVM

To set up and run the Java Demo software using the 32-bit version of Java on either a 32-bit or 64-bit
version of Windows, follow these steps:
1) Uninstall any existing instances of the Java Runtime Environment (JRE) or Java Development Kit
(JDK). Leaving them installed can cause runtime failures, as the library may fail to load.
2) Download and install the latest version of the Java Runtime Environment (JRE) and Java
Development Kit (JDK).
3) Follow the steps in section 2.1 How to Download and Set Up the MagTek Universal Java Project
to download and install the latest MagTek Universal Windows SDK. You may download and install
it directly on the target workstation where it will be used, or you may opt to install it on a master
development workstation and copy the dependencies to the target workstation manually.
4) If you opted to manually copy the MagTek Universal SDK for Java dependencies from a master
development workstation to the target workstation where it will be used, follow these steps:
a) On the master workstation, navigate to the root of the MagTek Universal SDK for Java. By
default, it will be
b) Copy all the files to the target workstation's
to the target workstation's
5) Connect a MagTek device to the workstation. Windows will install the device drivers automatically.
Wait for Windows to report the driver installation is complete.
6) Launch a Windows command prompt as an Administrator.
7)
cd
to the root of the folders where the MTUSDK Java Demo is installed.
8) Type
and press
test.bat
2.3

How to Modify Manifest

The Caller-Allowable-Codebase attribute is used to identify the domains from which JavaScript
code can make calls to your RIA without security prompts. Set this attribute to the domain that hosts the
JavaScript code. If a call is made from JavaScript code that is not located in a domain specified by the
Caller-Allowable-Codebase attribute, the call is blocked. To specify more than one domain,
separate the domains by a space, for example:
Caller-Allowable-Codebase: *.yahoo.com *.google.com *.magtek.com *
The Application-Library-Allowable-Codebase attribute identifies the locations where your signed
RIA is expected to be found. This attribute is used to determine what is listed in the Location field for the
security prompt that is shown to users when the JAR file for your RIA is in a different location than the
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 9
...\x86
for 32-bit operating systems, or
C:\Windows\SysWOW64
to launch the Java Demo software.
Enter
...\x64
for 64-bit operating systems.
C:\Windows\System32
folder for x86 systems.
folder for x64 systems, or

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Universal SDK and is the answer not in the manual?

Questions and answers

Related Products for Magtek Universal SDK

Table of Contents