Bug#629398: sun-java6-jre: Incorrect working directory [System.getProperty("user.dir")] when "open with java 6 runtime

Marcin s4ncho at gazeta.pl
Mon Jun 6 10:17:58 UTC 2011


Package: sun-java6-jre
Version: 6.25-3
Severity: important

There's probably problem with workig directory [System.getProperty("user.dir")]
when trying to run *.jar (eg abc_program.jar) by opening via "Sun java 6
Runtime"
 (the same with OpenJDK).

System.getProperty("user.dir") return user home directory istead current work
dir.

Problem doesn't exist when application is launching via console eg.:
java -jar abc_program.jar




-- System Information:
Debian Release: 6.0.1
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sun-java6-jre depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy
ii  java-common                   0.40       Base of all Java packages
ii  locales                       2.11.2-10  Embedded GNU C Library: National L
ii  sun-java6-bin                 6.25-3     Sun Java(TM) Runtime Environment (

Versions of packages sun-java6-jre recommends:
ii  gsfonts-x11                   0.21       Make Ghostscript fonts available t

Versions of packages sun-java6-jre suggests:
pn  sun-java6-fonts           <none>         (no description available)
ii  sun-java6-plugin          6.25-3         Java(TM) Plug-in, Java SE 6
pn  ttf-arphic-uming          <none>         (no description available)
pn  ttf-kochi-gothic | ttf-sa <none>         (no description available)
pn  ttf-kochi-mincho | ttf-sa <none>         (no description available)
ii  ttf-unfonts-core          1.0.2-080608-3 Un series Korean TrueType fonts

-- debconf information:
* shared/accepted-sun-dlj-v1-1: true
  sun-java6-jre/stopthread: true
  sun-java6-jre/jcepolicy:
* shared/error-sun-dlj-v1-1:
* shared/present-sun-dlj-v1-1:





More information about the pkg-java-maintainers mailing list