Solved

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

Posted on 2014-01-13
2
796 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
ID: 39776808
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
ID: 39778531
Thank you, EwaldHorn! =)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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…
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 basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

920 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

17 Experts available now in Live!

Get 1:1 Help Now