Can u try as below and let me knwo
If you are running on Windows you should run with IBM JVM provided with
WebSphere not with hotspot. So try to clear JAVA_HOME and PATH system
variables from paths pointing to Oracle JVM. Then open command line, go to
C:\IBM\SDP\runtimes\base_v7\bin and run manageprofiles script using correct
parameters. Template path in your first try is for sure incorrect. No
jvmhooks or Mercury stuff shouldnt be picked up during profile creation.
On Wed, Dec 17, 2014 at 6:35 PM, Graham Allan grundlefl...@gmail.com
wrote:
I also get that same error when I run java -v, it's just that '-v' is an
invalid argument, the correct flag is '-version' (assuming that's what you
intended):
$ java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
$ java -version
java version 1.7.0_21
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
HTH,
On 12 December 2014 at 02:22, Kev Lau superinterstel...@gmail.com wrote:
I tried to install Java with Apache Solr the easy way using this
tutorial:-
https://www.digitalocean.com/community/tutorials/how-to-install-solr-on-ubuntu-14-04
If you want to install Solr the easy way, you should use this section of
the article. Solr doesn't work alone; it needs a Java servlet container
such as Tomcat or Jetty. In this article, we'll use Jetty, although Tomcat
is just as easy. First, we should install the Java JDK. If you want to
install a custom version, please see this article
https://digitalocean.com/community/articles/how-to-install-java-on-ubuntu-with-apt-get.
If you want a simple installation, execute the following commands:
sudo apt-get -y install openjdk-7-jdk
mkdir /usr/java
ln -s /usr/lib/jvm/java-7-openjdk-amd64 /usr/java/default
Ubuntu provides 3 Solr packages by default: solr-common, the package
that contains the actual Solr code; solr-tomcat, Solr integrated with
Tomcat; and solr-jetty, which is just like solr-tomcat but with the
Jetty web server. In this article, we will install solr-tomcat, so
execute the following command:
sudo apt-get -y install solr-tomcat
Your Solr instance should now be available at http://YOUR_IP:8080/solr.
Skip the next section on installing manually if you want to configure Solr.
Now I am getting this error:-
opt/solr# java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Someone please help me fix this!
Thanks!
Kev
--
You received this message because you are subscribed to the Google Groups
Java Posse group.
To unsubscribe from this group and stop receiving emails from it, send an
email to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
Java Posse group.
To unsubscribe from this group and stop receiving emails from it, send an
email to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.
--
Thanks
Deepak Ganer
Contact: +91-9986310811
ganer.dee...@gmail.com
--
You received this message because you are subscribed to the Google Groups Java
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.