• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does JavaFX supported by the IBM SDK Version 8

 
Satish Chennamsetti
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have developed java fx application.This java application is working fine Linux and windows

I have installed IBM SDKVersion 8 on AIX 7.1 OS.but This java FX application does not work on IBM AIX machine.

when i was run a JavaFX application i got below error

# Exception in thread "main" java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

at java.lang.reflect.Method.invoke(Method.java:507)

at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:787)

Caused by: java.lang.UnsupportedOperationException: AIX is not supported

at com.sun.javafx.tk.Toolkit.getDefaultToolkit(Toolkit.java:131)

at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:185)

at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:229)

at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:141)

at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:678)

at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:340)

Regards

Satish
 
John Damien Smith
Ranch Hand
Posts: 296
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that the answer is self-evident:
java.lang.UnsupportedOperationException: AIX is not supported

Nor is AIX a certified configuration by Oracle:
http://www.oracle.com/technetwork/java/javase/certconfig-2095354.html

IBM also state:
"JavaFX is not supported by IBM SDK, Java Technology Edition, Version 8"
http://www-01.ibm.com/support/docview.wss?uid=swg21696670
 
Satish Chennamsetti
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Smith
Thanks for reply.I understand javafx is not supported by AIX.But is there any alternative for JavaFX in IBM AIX7
.1 os mechine
 
John Damien Smith
Ranch Hand
Posts: 296
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> But is there any alternative for JavaFX in IBM AIX7.1 os machine

Nobody provides such a solution.
Theoretically, you may be able to port open-jfx to AIX yourself, provided you have the skills and time to do so. I have no idea how much effort such a task would require.
https://wiki.openjdk.java.net/display/OpenJFX/Main

For the immediate error you are getting the code in the Toolkit class is this:

Where Linux is defined as:

So, a quick hack you could try would be to set the os.name system property to Linux in your main method before you launch your application:

Maybe, it will work. If not, at least it should get a little further so you can see what the next issue to solve is...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic