History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BDP-111
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Zhulin
Reporter: Alexey Efimov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
BuildDesk

Windows Launcher run JMV within wrong directory

Created: 14 Dec 06 17:37   Updated: 14 Jan 07 15:25
Component/s: Generator.WinLauncher
Affects Version/s: 2.0
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 895


 Description  « Hide
Structure of Installation Root:
/bin/*.dll, myapp.exe
/lib/*.jar, myapp.jar
/jre

Working directory - bin
If you will run myapp.exe it launch "../jre/bin/javaw" -jar "../lib/myapp.jar", but it was create process in wrong directory - lib, instead of bin.

For example:
Here is right command from right directory: C:\Program Files\My Corp\My App\bin>"../jre/bin/java" -jar "../lib/myapp.jar" (here all works OK)
Here is wrong command from right directory: C:\Program Files\My Corp\My App\bin>myapp.exe (here does not load any bin*dll native librs from current directory)



 All   Comments   Work Log   Change History      Sort Order:
Sergey Zhulin - 14 Jan 07 15:25
Alexey, could you attach trace from dbgview.exe util while your generated launcher is started?
It can significantly simplify fixing that ugly bug. Thanks.