Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Windows XP and ClassNotFoundException with Titanium Dev 1.2.1

Hi All,

I'm running into troubles I hope someone can shed light on.

My system: Windows XP SP3 patched, Titanium Developer 1.2.1, latest Android SDK R05 (fully downloaded and installed yesterday 10 april).

At first I was running into the project not getting Android bug, but replacing the android.py seemed to fix that.

Now, the app seems to be created (for APIs 2.1) and installed into the emulator.

Running ddm.bat lets me see that my app is loaded, and the home screen shows up, but I get the exception "java.lang.RuntimeException: Unable to instantiate application com.fb.test4.Test4Application: java.lang.ClassNotFoundException: com.fb.test4.Test4Application in loader dalvik.system.PathClassLoader…"

So it seems that the generation of the supporting java classes is having troubles for some reason…

The trace from Titanium Developer is: http://pastie.org/913885

The full log from the emulator is:
http://pastie.org/913887

— asked April 11th 2010 by Ken Corey
  • android
  • developer
  • mobile
  • setup
  • titanium
  • win32
  • windows
0 Comments

3 Answers

  • Ah, I saw on another post that the minimum JDK is 1.6. I had the jre 1.6, and the jdk 1.5, so obviously no go. I'm downloading the latest JDK right now.

    It would have been nice for Titanium Developer to check the versions of required software and complain if the requisite software were not present, rather than to fail with obscure errors.

    -Ken

    — answered April 11th 2010 by Ken Corey
    permalink
    0 Comments
  • Just for the record, upgrading to the latest java seemed to fix this just peachy.

    -Ken

    — answered April 11th 2010 by Ken Corey
    permalink
    0 Comments
  • Ken, I agree see Ticket 681

    — answered April 11th 2010 by Don Thorp
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.