Solved

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

Posted on 2014-01-13
2
804 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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
starter POM and spring-boot-starter,  spring-boot-web 2 57
arguments to jar 5 26
mysql jsp example issue 32 38
eclipse console opening separately 2 21
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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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 the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

831 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