Jump to content

install_resources/export/js-catalog : Could not create the Java virtual machine.


nsaintarnaud

Recommended Posts

 

I am trying to install JasperReports Server CP 4.5.0

on a Red Hat box:

$ cat /etc/issue
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

I get the error below.

 

Any help?

thanks!

-N


Code:
----------------------------------------------------------------------------Please wait while Setup installs JasperReports Server CP 4.5.0 on your computer. Installing 0% ______________ 50% ______________ 100% ########################################Warning: Problem running post-install step. Installation may not completecorrectly Error running /usr/local/jasperreports-server-cp-4.5.0/apache-ant/bin/antimport-ce -DimportFile=install_resources/export/js-catalog : Could not createthe Java virtual machine.Press [Enter] to continue :
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 

As a rule of thumb, RedHat is using gcj as default JVM. You should check if it is using Oracle JDK first.Here is the command:/usr/sbin/alternatives --config java[/code]
Or you have just typed java -version to see which JDK you are using.[/code]


References: http://docs.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/4.3/html/Getting_Started_Guide/appe-install_jdk_rhel.html

 

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...