~kroq-gar78/ubuntu/precise/visualvm/fix-start

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-09-08 13:38:19 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: package-import@ubuntu.com-20110908133819-m9kpaeyz7ki01y1b
Tags: 1.3.2-0ubuntu1
* New upstream version.
* Drop build dependency on libnb-apisupport2-java. LP: #832764.
* Fix jdk detection. LP: #657048.
* Update package description. LP: #813165.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Building VisualVM
 
2
=================
 
3
 
 
4
For convenience we've provided make targets that automatically
 
5
download, extract and build the source code for VisualVM.
 
6
 
 
7
Building requires a bootstrap JDK and an appropriate version of
 
8
NetBeans.  Currently, we support the use of IcedTea6 as packaged with
 
9
most GNU/Linux distributions.
 
10
 
 
11
See ./configure --help if you need to override the defaults.
 
12
 
 
13
$ ./autogen.sh
 
14
$ ./configure --prefix=<visualvm install location>
 
15
$ make
 
16
$ make install
 
17
 
 
18
The default version is currently 1.2.2.  Supported versions
 
19
are:
 
20
 
 
21
* 1.2.2 with NetBeans 6.8
 
22
* 1.3 with NetBeans 6.9
 
23
* 1.3.1 with NetBeans Platform 6.9.1
 
24
* 1.3.2 with NetBeans Platform 6.9.1
 
25
 
 
26
To build with a version other than the default, specify
 
27
--with-visualvm-version=x where x is the version.
 
28
 
 
29
VisualVM is installed in the specified prefix as with normal packages.
 
30
To achieve the effect previously used when VisualVM was integrated
 
31
into IcedTea, just use a prefix equal to the JDK's location.
 
32
 
 
33
Build Modification Options
 
34
==========================
 
35
 
 
36
The build process may be modified by passing the following options
 
37
to configure:
 
38
 
 
39
* --with-netbeans-home: Specifies the path to the NetBeans installation
 
40
  to use to build.  Defaults to /usr/share/netbeans.
 
41
* --with-jdk-home: Specifies teh path to the JDK to use to build.
 
42
  The first of:
 
43
 
 
44
  * /usr/lib/jvm/java-openjdk
 
45
  * /usr/lib/jvm/icedtea6
 
46
  * /usr/lib/jvm/java-6-openjdk
 
47
  * /usr/lib/jvm/openjdk
 
48
  * /usr/lib/jvm/java-icedtea
 
49
 
 
50
  which is found to be present is used by default.
 
51
* --with-netbeans-profiler-zip: The path to the appropriate NetBeans
 
52
  profiler zip file to avoid downloading it.
 
53
* --with-visualvm-zip: The path to the appropriate VisualVM zip file
 
54
  to avoid downloading it.
 
55
* --with-visualvm-version: Specify the version of VisualVM to build
 
56
  from those supported.  The default is 1.2.2.