Solved

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

Posted on 2014-01-13
2
828 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How  can  i  resolve  HTTP Status 404 -? 8 80
ejb entity bean example issue 2 43
Java basic valueOf question 1 51
glassfish admin console 1 53
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

751 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