# Unable to get any SDK examples working \[7.6.6\]

**URL:** <https://forum.inductiveautomation.com/t/unable-to-get-any-sdk-examples-working-7-6-6/8381>\
**Category:** 3rd Party Modules\
**Created:** [April 29, 2014, 9:50am UTC](https://forum.inductiveautomation.com/t/unable-to-get-any-sdk-examples-working-7-6-6/8381 "2014-04-29T09:50:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JarrenLange](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JarrenLange](https://forum.inductiveautomation.com/u/JarrenLange)\
**Post date:** [April 29, 2014, 9:50am UTC](https://forum.inductiveautomation.com/t/unable-to-get-any-sdk-examples-working-7-6-6/8381/1 "2014-04-29T09:50:31Z")

</div>

Hey there

I downloaded the SDK and ran through the associated instructions with getting the SDK setup. I haven’t modified the existing code, and thought I’d see if I can get an example working. I have got a developer key in the Ignition System.

I went to the build of the ComponentExample and ran the Ant build, without any errors. I checked the Gateway and the module was loaded there, with a big green tick telling me that the module was loaded (not running 😐 ). When I try to load the Designer, I get an error:

Error Launching application  
Exception: Error unpacking componentexample-designer.jar

I have tried restarting the gateway and the PC, but nothing happens. I have tried other examples in the SDK and I get the same error.

Where can I find more information about this error, where will this log be recorded? What do I need to do in order to use these example modules?

Regards  
Jarren

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [April 29, 2014, 6:11pm UTC](https://forum.inductiveautomation.com/t/unable-to-get-any-sdk-examples-working-7-6-6/8381/2 "2014-04-29T18:11:18Z")

</div>

1. What version of Java are you running?
2. Are there any more details in that error message?
3. What does your pack200.properties file look like in your SDK’s build directory?

---

<div class="post-metadata">

**Author:** ![JarrenLange](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JarrenLange](https://forum.inductiveautomation.com/u/JarrenLange)\
**Post date:** [April 29, 2014, 6:28pm UTC](https://forum.inductiveautomation.com/t/unable-to-get-any-sdk-examples-working-7-6-6/8381/3 "2014-04-29T18:28:51Z")

</div>

Hi Carl

1. When I run the “java -version” command I get:

Java SE runtime environment (build 1.8.0-b132)

I am running a 32-bit version of Java on a 64-bit Windows 8 machine, if that makes any difference.

1. No other details other than the text I have written below. It appears in a pop-up window, if that is relevant. Is there not a log that may reveal more information?

2. Pack200.properties, as viewed by Notepad++:

`modificationtime=latest
stripdebug=false
deflatehint=true
keepfileorder=false
unknownattribute=error
segmentlimit=-1
effort=7
com.sun.java.util.jar.pack.package.majver=150
com.sun.java.util.jar.pack.package.minver=7`

Regards  
Jarren

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [April 29, 2014, 7:10pm UTC](https://forum.inductiveautomation.com/t/unable-to-get-any-sdk-examples-working-7-6-6/8381/4 "2014-04-29T19:10:38Z")

</div>

Remove the last two lines of pack200.properties.

They’re not compatible with Java 8.

---

<div class="post-metadata">

**Author:** ![austral](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/austral/32/23644_2.png) [@austral](https://forum.inductiveautomation.com/u/austral)\
**Post date:** [June 10, 2014, 6:48am UTC](https://forum.inductiveautomation.com/t/unable-to-get-any-sdk-examples-working-7-6-6/8381/5 "2014-06-10T06:48:34Z")

</div>

Same problem with during opening Designer:  
[color=#FF0000]Error launching application:  
Exception: Error unpacking  
componentexample-designer.jar  
[/color]  
Regarding your checks:

1. What version of Java are you running?  
Java version “1.6.0\_45”
2. Are there any more details in that error message?  
No more detail, pop-up during opening Designer.
3. What does your pack200.properties file look like in your SDK’s build directory?  
[color=#800080]modificationtime=latest  
stripdebug=false  
deflatehint=true  
keepfileorder=false  
unknownattribute=error  
segmentlimit=-1  
effort=7  
[/color]  
I try with and without the lines  
[color=#800080]com.sun.java.util.jar.pack.package.majver=150  
com.sun.java.util.jar.pack.package.minver=7[/color]

(see built.txt)  
Same Error.

---

<div class="post-metadata">

**Author:** ![austral](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/austral/32/23644_2.png) [@austral](https://forum.inductiveautomation.com/u/austral)\
**Post date:** [June 11, 2014, 2:02am UTC](https://forum.inductiveautomation.com/t/unable-to-get-any-sdk-examples-working-7-6-6/8381/6 "2014-06-11T02:02:37Z")

</div>

😃  
Ok, I found.

There was a file “componentexample-designer.jar.pack.gz” in the folder " Ignition\lib\core\designer"  
After removing this file, all works without problem.

![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:")
