forked from HeapStats/heapstats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
64 lines (41 loc) · 1.6 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
--------------------------------------------------------------------------------
HOW TO INSTALL
--------------------------------------------------------------------------------
1. Pre-Requirements
Agent:
- Java SE 6 or later
- Maven2 or later
- Ant 1.8 or later
- pcre-devel 6 or later
- net-snmp-devel 5.3 or later
- binutils 2 or later
Analyzer:
- Java SE 8 or later
- JavaFX 8 or later
- Maven2 or later
2. How to build
(1) run configure with path to JDK 8
$ ./configure --with-jdk=/path/to/JDK8
*HINT* HeapStats Analyzer requires JavaFX 8.
OpenJDK does not provide JavaFX. Open source JavaFX is OpenJFX.
If you have not installed OpenJFX, You have to pass OracleJDK8.
(2) run make
$ make
*HINT* If your machine does not have JavaFX (OpenJFX or OracleJDK),
you can avoid to build HeapStats Analyzer as below:
$ make agent <- build HeapStats agent
$ make mbean <- build HeapStats MBean
$ mvn -am -pl analyzer/cli package <- build HeapStats CLI
configure script provides several useful options.
If you want to know them, please run "./configure --help" .
3. How to install
run make install
$ su -
# cd /path/to/source
# make install
4. How to rpmbuild
SPEC for rpmbuild is located at specs/heapstats.spec .
This SPEC can build two RPMs:
* heapstats: HeapStats agent and MBean.
* heapstats-cli: HeapStats CLI.
--------------------------------------------------------------------------------