This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- passing -Djava.awt.headless=true to ant
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2008
09:46 AM
passing -Djava.awt.headless=true to ant
Hi,
I'm building the IA installer using ant; I want to pass the -Djava.awt.headless=true parameter to ant, but I don't know how.
Can somebody help, please ?
Thank you,
Ionut
I'm building the IA installer using ant; I want to pass the -Djava.awt.headless=true parameter to ant, but I don't know how.
Can somebody help, please ?
Thank you,
Ionut
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2008
09:48 AM
The reason I'm asking this is we are getting the following exception:
[buildinstaller] Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[buildinstaller] Stack Trace:
[buildinstaller] java.awt.HeadlessException:
[buildinstaller] No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[buildinstaller] at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
[buildinstaller] at java.awt.Window.<init>(Unknown Source)
[buildinstaller] at java.awt.Frame.<init>(Unknown Source)
[buildinstaller] at javax.swing.JFrame.<init>(Unknown Source)
[buildinstaller] at ZeroGkn.<init>(DashoA10*..)
[buildinstaller] at ZeroGkn.b(DashoA10*..)
[buildinstaller] at InstallAnywhere.a(DashoA10*..)
[buildinstaller] at InstallAnywhere.main(DashoA10*..)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at java.lang.reflect.Method.invoke(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.launch(DashoA10*..)
[buildinstaller] at com.zerog.lax.LAX.main(DashoA10*..)
[buildinstaller] This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[buildinstaller] [1] + Done
[buildinstaller] Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[buildinstaller] Stack Trace:
[buildinstaller] java.awt.HeadlessException:
[buildinstaller] No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[buildinstaller] at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
[buildinstaller] at java.awt.Window.<init>(Unknown Source)
[buildinstaller] at java.awt.Frame.<init>(Unknown Source)
[buildinstaller] at javax.swing.JFrame.<init>(Unknown Source)
[buildinstaller] at ZeroGkn.<init>(DashoA10*..)
[buildinstaller] at ZeroGkn.b(DashoA10*..)
[buildinstaller] at InstallAnywhere.a(DashoA10*..)
[buildinstaller] at InstallAnywhere.main(DashoA10*..)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at java.lang.reflect.Method.invoke(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.launch(DashoA10*..)
[buildinstaller] at com.zerog.lax.LAX.main(DashoA10*..)
[buildinstaller] This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[buildinstaller] [1] + Done
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2008
04:21 AM
Please, somebody.. help !
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2008
12:32 PM
If this is related to this post: http://community.macrovision.com/showthread.php?t=181922 I think I've answered your issue there.