Ticket #946 (closed enhancement: invalid)

Opened 1 year ago

Last modified 3 months ago

debian build

Reported by: al4711 Assigned to: feiner.tom
Priority: normal Milestone:
Component: deb package Version: 1.4.5
Severity: normal Keywords: debian
Cc:

Description

I think that the javac should be used from /etc/alternatives

I suggest to change the JC variable from

JC         = /usr/lib/jvm/default-java/bin/javac

to

JC         = /etc/alternatives/javac

Change History

08/13/10 15:58:07 changed by feiner.tom

  • status changed from new to closed.
  • resolution set to invalid.
  • milestone deleted.

As this is a a debian specific issue, and not a munin issue per se, I've opened a bug in the debian BTS [1] , and I'll close this bug.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592864

08/23/10 10:42:34 changed by al4711

This is the output with default java build

### . . . cd plugins/javalib && /usr/lib/jvm/default-java/bin/javac -g -source 1.5 -target 1.5 org/munin/plugin/jmx/GCCountGet.java


1. WARNING in org/munin/plugin/jmx/GCCountGet.java (at line 30)

Set mbeans = connection.queryNames(gcName, null);

Set is a raw type. References to generic type Set<E> should be parameterized


2. WARNING in org/munin/plugin/jmx/GCCountGet.java (at line 33)

Iterator iterator = mbeans.iterator();

Iterator is a raw type. References to generic type Iterator<E> should be parameterized


3. WARNING in org/munin/plugin/jmx/GCCountGet.java (at line 54)

private String formatMillis(long ms) {

The method formatMillis(long) from the type GCCountGet is never used locally


4. WARNING in org/munin/plugin/jmx/GCCountGet.java (at line 58)

private String formatBytes(long bytes) {

The method formatBytes(long) from the type GCCountGet is never used locally


4 problems (4 warnings)mkdir -p build/dirname plugins/javalib/org/munin/plugin/jmx/GCCountGet.class cp plugins/javalib/org/munin/plugin/jmx/GCCountGet.class build/plugins/javalib/org/munin/plugin/jmx/GCCountGet.class cd plugins/javalib && /usr/lib/jvm/default-java/bin/javac -g -source 1.5 -target 1.5 org/munin/plugin/jmx/MemoryEdenUsagePostGC.java


1. WARNING in org/munin/plugin/jmx/MemoryEdenUsagePostGC.java (at line 2)

import java.lang.management.ManagementFactory?.*;

The import java.lang.management.ManagementFactory? is never used



2. ERROR in /root/1.4-stable_20100823/plugins/javalib/./org/munin/plugin/jmx/ConfReader.java (at line 2)

import javax.management.remote.JMXConnector;

The import javax.management.remote cannot be resolved


3. ERROR in /root/1.4-stable_20100823/plugins/javalib/./org/munin/plugin/jmx/ConfReader.java (at line 56)

credentials.put(JMXConnector.CREDENTIALS,

JMXConnector cannot be resolved


3 problems (2 errors, 1 warning)make[1]: *** [plugins/javalib/org/munin/plugin/jmx/MemoryEdenUsagePostGC.class] Error 255 rm plugins/javalib/org/munin/plugin/jmx/MemoryEdenUsagePostGC.class plugins/javalib/org/munin/plugin/jmx/GCCountGet.class make[1]: Leaving directory `/root/1.4-stable_20100823' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 ###

10/27/11 11:38:26 changed by ramiterschan1989

Anyone who loves motion pictures is prone to love movie downloads, too. The actual fact is this development is becoming an enormous one and it is nice for those who wish to create giant collections with out having to dole out top dollar or premium house space to do so. How to download video from vimeo are actually out there legally from all sorts of big movie studios and even television networks, as well. A video assortment created digitally has a number of advantages over common disk purchases, too. The biggest perks of video downloads contain the storage points and pricing. But, why? Video downloads are usually a couple of dollars or more less than a regular DVD buy because there isn't a packaging points to contend with. Plus, there's the easy reality supply is not a difficulty either. Since the companies that promote downloads save on transport and the movie studios save on packaging, they'll go on some of these financial savings on to buyers. In regard to storage, it's a easy fact of space. It's a whole lot easier to store movies on a computer drive or a backup drive than it is to hold a hundred movies in a room. There isn't any need for shelf after shelf or tons of DVD towers when a set is created via video download. Management of flicks and television downloads could be a entire lot easier, too. It's fairly easy to create folders on the pc to retailer films by genre and it is a whole lot quicker, too. Video downloads have gotten the favorites of many for a reason beyond storage or pricing. This reason is variety. The actual fact is the kinds of downloads obtainable will be literally thoughts boggling. Let us take a look at what sorts of video downloads could be found legally: Hit movies Just about each new film that hits the theaters will end up in a authorized obtain format shortly after release. This means there isn't any have to run to the video store, or worse, pay prime greenback at a theater to see a brand new release. Television applications video downloading Because the film studios leap on the bandwagon, so too are the tv studios. Hit exhibits from all a long time may be found by the season or by the episode via video download.Classics Because the movie download enterprise turns into more common, many studios are video through their catalogues and providing downloads of their older movies. From the classics of the Nineteen Twenties to vacation favorites of the Eighties, they will all be discovered by way of video download. And, if a title cannot be discovered proper now, it is probably it is going to be added quickly as each main movie studio falls into place providing downloads through plenty of totally different sites. Video downloads present their users with an on demand facet, worth savings and storage subject reduction that common DVD buys cannot. As this new format turns into increasingly accepted, it is changing into the tactic of choice for purchasing and watching movies. Original works There are tons of areas to get video downloads from amateur or little known creators. These movies might not have the monetary backing of a few of the main motion pictures in historical past, however that doesn't imply there is not some good leisure out there. Indie works are getting an entire new viewers because of video downloads and the Internet.