When you click a JAR the current directoy should be that of the JAR, not your home
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Unity |
Invalid
|
Undecided
|
Unassigned | |
| nautilus (Ubuntu) |
Undecided
|
Unassigned | ||
| openjdk-7 (Ubuntu) |
Undecided
|
Unassigned | ||
| unity (Ubuntu) |
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.
hugocanalli (hugocanalli) wrote : | #1 |
description: | updated |
Patrick Kilgore (patrick-kilgore) wrote : | #2 |
-----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://
iEYEARECAAYFAkk
gnEAnj8AyZ6SVUb
=OhXG
-----END PGP SIGNATURE-----
I'll try it
_______
From: Patrick Kilgore <email address hidden>
To: <email address hidden>
Sent: Wednesday, December 10, 2008 1:44:22 AM
Subject: [Bug 256670]
-----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://
iEYEARECAAYFAkk
gnEAnj8AyZ6SVUb
=OhXG
-----END PGP SIGNATURE-----
** Changed in: ubuntu
Status: New => Incomplete
--
When you click a JAR the current directoy should be that of the JAR, not your home
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Renato Silva (renatosilva) wrote : | #4 |
I've verified the issue still happens. When you click a JAR the current folder is your home, and the program has no permission to create a file on it. In console the current dir is wherever you are. I think current dir must be that of the JAR, not anywhere else.
_______
From: Patrick Kilgore <email address hidden>
To: <email address hidden>
Sent: Wednesday, December 10, 2008 1:44:22 AM
Subject: [Bug 256670]
-----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://
iEYEARECAAYFAkk
gnEAnj8AyZ6SVUb
=OhXG
-----END PGP SIGNATURE-----
** Changed in: ubuntu
Status: New => Incomplete
--
When you click a JAR the current directoy should be that of the JAR, not your home
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Patrick Kilgore (patrick-kilgore) wrote : | #5 |
Which Java runtime do you have installed?
Renato Silva (renatosilva) wrote : Re: [Bug 256670] Re: When you click a JAR the current directoy should be that of the JAR, not your home | #6 |
Sun Java JRE 6
_______
From: Patrick Kilgore <email address hidden>
To: <email address hidden>
Sent: Sunday, December 14, 2008 2:17:19 AM
Subject: [Bug 256670] Re: When you click a JAR the current directoy should be that of the JAR, not your home
Which Java runtime do you have installed?
--
When you click a JAR the current directoy should be that of the JAR, not your home
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Patrick Kilgore (patrick-kilgore) wrote : | #7 |
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 |
Renato Silva (renatosilva) wrote : | #8 |
In console the same JRE is running. The JRE just asks for the current directory. The terminal answer seems ok, but Nautilus always says "home".
_______
From: Patrick Kilgore <email address hidden>
To: <email address hidden>
Sent: Tuesday, December 23, 2008 12:32:25 AM
Subject: [Bug 256670] Re: When you click a JAR the current directoy should be that of the JAR, not your home
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 (Ubuntu)
Sourcepackagename: None => sun-java6
** Changed in: sun-java6 (Ubuntu)
Status: Incomplete => Confirmed
** Changed in: sun-java6 (Ubuntu)
Importance: Undecided => Low
** Changed in: sun-java6 (Ubuntu)
Importance: Low => Wishlist
--
When you click a JAR the current directoy should be that of the JAR, not your home
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Renato Silva (renatosilva) wrote : | #9 |
Bug still reproducible in Karmic! It only works in console mode.
Using Sun Java 1.6.0_16-b01, but I think it's a Nautilus issue.
Renato Silva (renatosilva) wrote : | #10 |
Still reproducible in Ubuntu 14.04!
no longer affects: | sun-java6 (Ubuntu) |
affects: | nautilus → unity |
Changed in unity: | |
status: | New → Invalid |
Changed in unity (Ubuntu): | |
status: | New → Invalid |
Yes.
I've the same problem.