Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdic and outlook

 
randy butler
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • 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

 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Oh your silly ;-)
but no ideas?
 
randy butler
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • 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?
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I did add the JAR to the CLASSPATH.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic