• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

Error when running dolly.jar (of InDesign plugin sdk)

Explorer ,
Aug 07, 2023 Aug 07, 2023

Copy link to clipboard

Copied

Hi,

 

I have downloaded InDesign plugin "plugin_sdk_18.4.0.56". I am trying to run dolly.jar from its devtools, however I get following error when running with java version 1.7.0_80:

 

C:\Zia\Installations\plugin_sdk_18.4.0.56\devtools\dolly>java -jar dolly.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/adobe/devtech/dollyxs/DollyXs : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

 

When I run with Java version  11 or version17, I get following error:

 

C:\Zia\Installations\plugin_sdk_18.4.0.56\devtools\dolly>java -jar dolly.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at com.adobe.devtech.dollyxs.DollyXs.createDataFromInput(DollyXs.java:102)
at com.adobe.devtech.dollyxs.DollyXs.DoWithUI(DollyXs.java:585)
at com.adobe.devtech.dollyxs.DollyXs.main(DollyXs.java:823)
Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)

 

I need to build an InDesign plugin and as per document dolly.jar is to be run to create a new project.

kindly help.

TOPICS
SDK

Views

96

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 08, 2023 Aug 08, 2023

Copy link to clipboard

Copied

LATEST

Hi @user6965273.,

This might not be the answer that you are looking for, but my suggestion would be to pick up the project of a sample plugin depending upon the features you need and tweak that as your own project. I have not used dolly for ages and I doubt you would get some serious help on it, so rather than wasting time on it it's better you explore alternatives.

@Rishabh_Tiwari can you get some help here if possible.

-Manan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines