Attachment contains simple hello-world program module (com.greetings.jar) and also logs of execution.
Steps to reproduce:
1. Get a Windows System which has both drives say (c-drive) C: and (D-drive) D: available in it.
2. place modular jars in c-drive path say "C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars", you can change the path according to your system.
3. Now USE ONLY ABSOLUTE PATH for MODULE-PATH in javapackager command
ABSOLUTE PATH: "C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars"
4. Navigate to C:\ in command prompt and execute command
javapackager -deploy -verbose -outdir outdir -outfile test -native exe --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars --module com.greetings/com.greetings.App1 -name AbsoluteTest
5. Now Navigate to D:\ in command prompt and execute the same command at command line.
javapackager -deploy -verbose -outdir outdir -outfile test -native exe --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars --module com.greetings/com.greetings.App1 -name AbsoluteTest
6. Fourth Step successfully executes, check the attachment log "C_Drive_execution.txt"
7. Fifth Step fails with error "Module Not Found Exception", check the attachment log "D_Drive_execution.txt"
Steps to reproduce:
1. Get a Windows System which has both drives say (c-drive) C: and (D-drive) D: available in it.
2. place modular jars in c-drive path say "C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars", you can change the path according to your system.
3. Now USE ONLY ABSOLUTE PATH for MODULE-PATH in javapackager command
ABSOLUTE PATH: "C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars"
4. Navigate to C:\ in command prompt and execute command
javapackager -deploy -verbose -outdir outdir -outfile test -native exe --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars --module com.greetings/com.greetings.App1 -name AbsoluteTest
5. Now Navigate to D:\ in command prompt and execute the same command at command line.
javapackager -deploy -verbose -outdir outdir -outfile test -native exe --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars --module com.greetings/com.greetings.App1 -name AbsoluteTest
6. Fourth Step successfully executes, check the attachment log "C_Drive_execution.txt"
7. Fifth Step fails with error "Module Not Found Exception", check the attachment log "D_Drive_execution.txt"