JVM terminated without running Heritrix.

Description

I'm trying to run Heritrix 3.2.0 and when I type the command :
/heritrix-3.2.0$ $HERITRIX_HOME/bin/heritrix -a admin:admin, it gives me the error :

16 01:45:16 EET 2015 Heritrix starting (pid 6523).
ERROR: JVM terminated without running Heritrix.
This could be due to invalid JAVA_OPTS or JMX_PORT, etc.
See heritrix_out.log for more details.
Here are its last three lines:
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
*and when I checked the heritrix_out.log, here is what is there: *
ج سبت 11 22:26:52 EET 2015 Starting heritrix
Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
JAVA_OPTS=-Xmx1024M
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 29848
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29848
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool
at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438)
at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319)
at org.archive.crawler.Heritrix.main(Heritrix.java:189)
Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
ج سبت 11 22:30:52 EET 2015 Starting heritrix
Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
JAVA_OPTS=-Xmx1024M
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 29848
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29848
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
ج سبت 11 22:42:49 EET 2015 Starting heritrix
Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
JAVA_OPTS=-Xmx1024M
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 29848
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29848
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool
at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438)
at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319)
at org.archive.crawler.Heritrix.main(Heritrix.java:189)
Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
ج سبت 11 22:47:14 EET 2015 Starting heritrix
Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
JAVA_OPTS=-Xmx1024M
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 29848
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29848
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14
usage: Heritrix
a,-web-admin <arg> REQUIRED. Specifies the authorization
username and password which must be supplied to access the web interface.
This may be of the form "password" (which leaves username as the default
'admin'), "usernameassword", or "@filename" for a file that includes the
single line "usernameassword".
b,-web-bind-hosts <arg> A comma-separated list of
addresses/hostnames for the web interface to bind to.
h,-help <arg> Usage information.
j,-jobs-dir <arg> The jobs directory. Defaults to ./jobs
l,-logging-properties <arg> The full path to the logging properties
file (eg, conf/logging.properties). If present, this file will be used to
configure Java logging. Defaults to
${heritrix.home}/conf/logging.properties or if no heritrix.home property
set, ./conf/logging.properties
p,-web-port <arg> The port the web interface should listen
on.
s,-ssl-params <arg> Specify a keystore path, keystore
password, and key password for HTTPS use. Separate with commas, no
whitespace.
Your arguments were: --webui-admin PASSWORD
ر سبت 16 01:12:31 EET 2015 Starting heritrix
Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
JAVA_OPTS=-Xmx1024M
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 29848
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29848
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
ر سبت 16 01:14:45 EET 2015 Starting heritrix
Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
JAVA_OPTS=-Xmx1024M
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 29848
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29848
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14
usage: Heritrix
a,-web-admin <arg> REQUIRED. Specifies the authorization
username and password which must be supplied to access the web interface.
This may be of the form "password" (which leaves username as the default
'admin'), "usernameassword", or "@filename" for a file that includes the
single line "usernameassword".
b,-web-bind-hosts <arg> A comma-separated list of
addresses/hostnames for the web interface to bind to.
h,-help <arg> Usage information.
j,-jobs-dir <arg> The jobs directory. Defaults to ./jobs
l,-logging-properties <arg> The full path to the logging properties
file (eg, conf/logging.properties). If present, this file will be used to
configure Java logging. Defaults to
${heritrix.home}/conf/logging.properties or if no heritrix.home property
set, ./conf/logging.properties
p,-web-port <arg> The port the web interface should listen
on.
s,-ssl-params <arg> Specify a keystore path, keystore
password, and key password for HTTPS use. Separate with commas, no
whitespace.
Your arguments were: --admin=LOGINASSWORD
ر سبت 16 01:45:14 EET 2015 Starting heritrix
Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
JAVA_OPTS=-Xmx1024M
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 29848
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29848
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool
at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438)
at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319)
at org.archive.crawler.Heritrix.main(Heritrix.java:189)
Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

I have been searching on Google for 2 days but in vain. Please please please help
... 3 more

Environment

Linux

Status

Assignee

Unassigned

Reporter

programmer

Labels

None

Group Assignee

None

ZendeskID

None

Estimated Difficulty

None

Actual Difficulty

None

Components

Affects versions

Priority

Critical
Configure