Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

jdic and outlook

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying out the jdic(jdic-20061102-bin-crossplatform) for launching my native mail program which happens to be outlook. So I wrote a desktop app that when you hit a jbutton it should launch the new message dialog and this works fine within netbeans 6.5.1 using JDK 5. So after I deploy the application and try to run it the new message dialog does not come up and I get no errors. The system the that's running the application is using JDK5 on windows XP. Is there something I'm missing why will the program run in netbeans but not standalone? I went ahead and added my code and any in site to this problem will be much appreciated

 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can't help you with your problem,
but I just have to say that with a name like 'randy butler'
I'd never hire you to work in my home :-)
 
randy butler
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh your silly ;-)
but no ideas?
 
randy butler
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I ran the program through command line and got the following error

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/jdesktop/jdic/desktop/internal/impl/ServiceManagerStub
at org.jdesktop.jdic.desktop.internal.ServiceManager.getService<Unknown Source>

is the library not being added?
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to add the JAR to your CLASSPATH
 
randy butler
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did add the JAR to the CLASSPATH.
 
Martijn Verburg
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd double check what you've got deployed, for some reason it's not picking up that Jar in your CLASSPATH... Maybe you can try echoing the runtime environment to see what it thinks your classpath is.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic