You are not logged in.
Hi,
as a Java EE architect, longtime linux user (since '97 and still counting) and recent happy Arch convert, I love to see that the most important Java tools are packaged (and are done correctly!) in Arch (jdk, ant, maven, etc). Do you think it'd worth to keep VisualVM packaged as well? (https://visualvm.dev.java.net/, general JVM inspection monitoring tool). If anyone's interested, but noone would volunteer packaging it, I'll consider trying to do it myself (never did any Arch package though).
cheers,
Kristof
Offline
Give it a try! Its not too difficult, and knowledge about java is much more important than knowledge of packaging. Feel free to post your efforts her, or ask questions.
Welcome to arch!
Offline
http://aur.archlinux.org/packages.php?ID=24991
the actual packaging time was about 10 mins.. sorry it took a bit long ![]()
Offline
Hi kjozsa, version 1.3 is out.
I used this updated PKGBUILD to package it:
pkgname=visualvm
pkgver=1.3
pkgrel=1
pkgdesc="A Java VM monitoring and troubleshooting tool"
arch=('i686' 'x86_64')
url="https://visualvm.dev.java.net/"
license=('GPL2')
depends=('j2sdk')
source=(https://visualvm.dev.java.net/files/documents/7163/151728/visualvm_13.zip \
visualvm)
md5sums=('1e44fa233b8f4fdfec47d6bbefe8e5f7' 'c5b2fa607ff10eab8ef2c0e6b84cb8eb')
build() {
cd $startdir/src
mkdir $startdir/pkg/opt
mv visualvm_13 $startdir/pkg/opt/visualvm_13
rm $startdir/pkg/opt/visualvm_13/*.txt
rm $startdir/pkg/opt/visualvm_13/bin/*.exe
rm $startdir/pkg/opt/visualvm_13/platform/lib/nbexec.{dll,exe}
rm -rf $startdir/pkg/opt/visualvm_13/profiler/lib/deployed/jdk1{5,6}/{hpux*,mac,solaris*,windows*}
mkdir -p $startdir/pkg/usr/bin/
install -m 755 $startdir/visualvm $startdir/pkg/usr/bin/
}
Offline
made_in_nz, you'd better strip version numbers on directories. I updated the package in AUR (and also signed you as a contributor), thanks ![]()
Offline
Just a quick suggestion, why don't you use a symlink that maps "/opt/visualvm/bin/visualvm" to "/usr/bin/visualvm"? That way you won't need that additional visualvm script.
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline
afairc the bin/visualvm script (provided by sun/oracle) used relative paths for starting the application..
Offline