This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ds:software:java11 [2019/05/09 13:40] rhaseitl |
ds:software:java11 [2019/05/21 10:14] (current) rhaseitl [weird look an asl when started via Windows/XWin] |
||
---|---|---|---|
Line 30: | Line 30: | ||
- compile should now work on the command line and within NetBeans | - compile should now work on the command line and within NetBeans | ||
- if no LSA or device access is used: the program can now only be executed by the command line, not within NetBeans | - if no LSA or device access is used: the program can now only be executed by the command line, not within NetBeans | ||
- | - **LSA or DeviceAcces: | + | - LSA or DeviceAcces: |
Line 45: | Line 45: | ||
**Latest news:** | **Latest news:** | ||
All solutions below fail sometimes. Then it helps to remove the complete < | All solutions below fail sometimes. Then it helps to remove the complete < | ||
+ | |||
+ | **Superlatest news:** | ||
+ | If you need the build section for passing command line argument, the sction can look like this: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Please note: Neither the plugin for the javadoc trick (see below) nor the plugin that was there before is in the build section. | ||
+ | **This is NOT used anymore:** | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
**Other solutions: | **Other solutions: | ||
Line 59: | Line 102: | ||
< | < | ||
</ | </ | ||
+ | |||
</ | </ | ||
</ | </ | ||
Line 110: | Line 154: | ||
</ | </ | ||
+ | ===== Launching from within NetBeans ===== | ||
+ | To start a project directly from within NetBeans, you must edit the parameters in the project properties: | ||
+ | Actions - Run project - Set Properties (adapt to your project settings): | ||
+ | < | ||
+ | metafactory.service.name.resolvers=de.gsi.bel.ap.japc.ext.devacc.GSIServiceNameResolver | ||
+ | de.gsi.aco.sv.japc.useDefaultResolverFirst=false -classpath %classpath de.gsi.lo.bi.trafos.TrafoMainApp | ||
+ | exec.executable=java | ||
+ | </ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== weird look an asl when started via Windows/ | ||
+ | The dti Joda program showd this weird behaviour: | ||
+ | * when started via ssh -X, the GUI looked as intended | ||
+ | * when started via XWin32/ | ||
+ | |||
+ | As a quick solution, the window has been made resizable in the code. Then it looks as intended on all platforms. | ||
+ | |||
+ | not looking good: | ||
+ | {{: | ||
+ | |||
+ | looking good: | ||
+ | {{: |