When you click a JAR the current directoy should be that of the JAR, not your home

Bug #256670 reported by Display Name
4
Affects Status Importance Assigned to Milestone
Unity
Invalid
Undecided
Unassigned
nautilus (Ubuntu)
New
Undecided
Unassigned
openjdk-7 (Ubuntu)
New
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When I click on a a jar (open it with Java) which reads some external file, it tries to find it under my home instead of the folder where the jar is located (Windows behavior). However, if I run $java -jar app.jar it works.

That is: when you click the jar, you'd expect the current directory being that in front of your face, not anywhere else, like your home.

Revision history for this message
hugocanalli (hugocanalli) wrote :

Yes.

I've the same problem.

description: updated
Revision history for this message
Patrick Kilgore (patrick-kilgore) wrote :

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

Thank you for having taken the time to report this bug to help make
Ubuntu better. You reported this bug a while ago and there hasn't been
any activity in it recently. We were wondering is this still an issue
for you? Can you try with latest Ubuntu release? Thanks in advance.

 subscribe
 status incomplete
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAkk/OwoACgkQZaGzTLr7X3WakwCcDsW8Y9vWXlEPGR2wIem9JJaG
gnEAnj8AyZ6SVUbGu61qFk8mcn/ILakX
=OhXG
-----END PGP SIGNATURE-----

Revision history for this message
Patrick Kilgore (patrick-kilgore) wrote :

Which Java runtime do you have installed?

Revision history for this message
Patrick Kilgore (patrick-kilgore) wrote :

Ok, I'll pass it along to the sun-java folks to handle. I'm not an expert in this area, but you may have to report this bug to sun itself to fix, since I'm not sure how much control we have over Java's source.

Thanks for your report.

Changed in sun-java6:
status: Incomplete → Confirmed
importance: Undecided → Low
importance: Low → Wishlist
no longer affects: sun-java6 (Ubuntu)
affects: nautilus → unity
Changed in unity:
status: New → Invalid
Changed in unity (Ubuntu):
status: New → Invalid
summary: - When you click a JAR the current directoy should be that of the JAR, not
- your home
+ Title
summary: - Title
+ When you click a JAR the current directoy should be that of the JAR, not
+ your home
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.