Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-01-13
2
Medium Priority
?
851 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 2000 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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 learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

730 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