Unable to run Oxygen from IDE
Posted: Wed Aug 21, 2013 5:27 pm
Hi guys,
Trying to launch Oxygen from inside IDE and it crashes.
My setup: Mac OSX 10.8.4, Java 1.6.0_51, IntelliJ IDEA 12
Main class:
ro.sync.exml.Oxygen
VM params:
-Dcom.oxygenxml.app.descriptor=ro.sync.exml.EditorFrameDescriptor -Xmx1024m -XX:MaxPermSize=256m -Dcom.oxygenxml.editor.plugins.dir=resources_debug
Getting exception:
ava.lang.ClassNotFoundException: com.sun.deploy.services.MPlatformService
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at com.sun.deploy.services.ServiceManager.setService(ServiceManager.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ro.sync.net.protocol.http.d.e(Unknown Source)
at ro.sync.net.protocol.http.d.g(Unknown Source)
at ro.sync.net.protocol.http.d.c(Unknown Source)
at ro.sync.net.protocol.Installer.installProtocols(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.<clinit>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ro.sync.exml.Oxygen.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
MPlatformService is a class that encapsulates the general service on Unix for standalone application on J2SE v1.5.x or later.
This class is part of deploy.jar (part of Java distribution)
I looked inside the jar and figured that I have MacOSXPlatformService instead which makes sense since I have Mac and not a Unix like machine.
If this is something you ave seen before, please, let me know
Appreciate
Trying to launch Oxygen from inside IDE and it crashes.
My setup: Mac OSX 10.8.4, Java 1.6.0_51, IntelliJ IDEA 12
Main class:
ro.sync.exml.Oxygen
VM params:
-Dcom.oxygenxml.app.descriptor=ro.sync.exml.EditorFrameDescriptor -Xmx1024m -XX:MaxPermSize=256m -Dcom.oxygenxml.editor.plugins.dir=resources_debug
Getting exception:
ava.lang.ClassNotFoundException: com.sun.deploy.services.MPlatformService
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at com.sun.deploy.services.ServiceManager.setService(ServiceManager.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ro.sync.net.protocol.http.d.e(Unknown Source)
at ro.sync.net.protocol.http.d.g(Unknown Source)
at ro.sync.net.protocol.http.d.c(Unknown Source)
at ro.sync.net.protocol.Installer.installProtocols(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.<clinit>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ro.sync.exml.Oxygen.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
MPlatformService is a class that encapsulates the general service on Unix for standalone application on J2SE v1.5.x or later.
This class is part of deploy.jar (part of Java distribution)
I looked inside the jar and figured that I have MacOSXPlatformService instead which makes sense since I have Mac and not a Unix like machine.
If this is something you ave seen before, please, let me know
Appreciate