Solved

How to install Java so I can run some Paypal Java command line?

Posted on 2014-01-13
2
753 Views
Last Modified: 2016-03-24
Hi,

I'm reading this page by Paypal to make the Paypal buttons more secure:
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/encryptedwebpayments/#id08A3I0P017Q

by running this command line in Java:
java ButtonEncryption CertFile PKCS12File PPCertFile Password InputFile OutputFile

but I don't have the java command installed.

It's hosted by a VPS server on Godaddy using WHM/cPanel. I'm trying to find out the best way to install Java so I can run that command line.

It's Centos 5.9.

I read this:
http://stackoverflow.com/questions/5104817/how-to-install-java-sdk-on-centos

But this page says to install Tomcat:
http://www.jangro.com/how-to-install-java-on-whm-and-cpanel/

I have limited knowledge of Java (learning it though). Should I install Tomcat via WHM EasyApache? If so, I have this option to install "Mod Ruid2" (see attachment snapshot) in WHM EasyApache.

Or should I use the suggestion by the stackoverflow answer and use yum?

Thank you.
Screenshot-2014-01-13-03.32.05-v.png
0
Comment
Question by:Victor Kimura
2 Comments
 
LVL 1

Accepted Solution

by:
EwaldHorn earned 500 total points
Comment Utility
Whenever you install something in Linux, and have the option of using the default package manager, go that route.

From what I can tell though, it looks as if you can run that particular command on any machine that supports Java, and then just FTP the resulting file across.

That being said - the Java installation required for this does not require Tomcat as far as I can tell.  I'd prefer to just use YUM if I can, that way you don't end up getting lots of other installs that you do not need.
0
 

Author Closing Comment

by:Victor Kimura
Comment Utility
Thank you, EwaldHorn! =)
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now