-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Petter Reinholdtsen schrieb:
> [Martin Weis]
>> The package for the etch release should have a dependency on
>> sun-java5-jre.
> 
> OK.  So there are no package providing j2re-1.4 any more?  I must
> admin I am a but unsure about the correct Java dependencies, so I
> would like to learn more.

I am not too much into java and the packaging in debian, but it may be
an option to have a dependency on java2-runtime, which is a virtual package:

apt-get -s install java2-runtime
Reading package lists... Done
Building dependency tree... Done
Package java2-runtime is a virtual package provided by:
  sun-java5-jre 1.5.0-10-3
  gij-4.1 4.1.1-20
  gij 4:4.1.1-15

> I asked on #debian-java, and Michael Koch said the problem is with the
> gcj recently being split to handle headless environments.  Does it
> help to install the libgcj7-awt package?

I installed it and configured the system to use gij, but it soes not help.

$ apt-get install libgcj7-awt
$ update-alternatives --config java

There are 2 alternatives which provide `java'.

  Selection    Alternative
- -----------------------------------------------
*         1    /usr/bin/gij-wrapper-4.1
 +        2    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

but starting openjump gives this error:
$ DEBUG=1 openjump
DEBUG:   Openjump parameters are ''.
DEBUG:   Using $PATH to find java virtual machine.
DEBUG:   Using '/usr/bin/java' as java virtual machine...
DEBUG:   Used classpath is
':/usr/share/java/jump-api.jar:/usr/share/java/jump-workbench.jar:/usr/share/java/bsh.jar:/usr/share/java/buoy.jar:/usr/share/java/jama.jar:/usr/share/java/jdom0.jar:/usr/share/java/jts.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/xml-apis.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/batik-all.jar'
JUMP: Warning: Properties file does not exist:
/usr/share/openjump/workbench-properties.xml
JUMP: Warning: Extensions directory does not exist: /usr/share/openjump/ext
Abgebrochen (=Stopped)

which happens directly after the main window opens.

the result of this command follows (verbose output):
JAVACMD=/usr/bin/gij JAVA_ARGS=" --showversion --verbose " DEBUG=1 openjump

java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[...] lots of classes loading [...]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil$Visitor
from (file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode)
com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel$6$1 from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil$1 from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil$2 from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil$3 from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil$4 from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil$5 from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil$6 from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.workbench.ui.TreeUtil$7 from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (pre-compiled) javax.swing.event.TreeExpansionEvent from <no
code source>]
[Loaded (bytecode)
org.openjump.core.ui.plugin.view.helpclassescale.ShowScaleRenderer from
(file:/usr/share/java/jump-api-1.0.jar <no certificates>)]
[Loaded (bytecode)
com.vividsolutions.jump.workbench.ui.snap.GridRenderer from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode)
com.vividsolutions.jump.workbench.ui.plugin.scalebar.ScaleBarRenderer
from (file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (bytecode) com.vividsolutions.jump.util.MathUtil from
(file:/usr/share/java/jump-api-1.0.jar <no certificates>)]
[Loaded (bytecode)
com.vividsolutions.jump.workbench.ui.plugin.scalebar.RoundQuantity from
(file:/usr/share/java/jump-workbench-1.0.jar <no certificates>)]
[Loaded (pre-compiled) java.awt.Event from <no code source>]
[Loaded (pre-compiled) javax.swing.plaf.metal.MetalUtils from <no code
source>]
[Loaded (pre-compiled) java.awt.geom.Point2D$Float from <no code source>]
Abgebrochen

So it does not work with the gij, only with the sun java. Thanks for
looking at it.

Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5qPZ5j8IxyG/AuwRAp1lAKDRzHnnkCTDjs9Y/egoKfirSzBYQACgvmzc
pCR1z0bCFqCajGJ65SVtF1c=
=J9A8
-----END PGP SIGNATURE-----



_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to