How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask PoohBear5966 Your Own Question

PoohBear5966
PoohBear5966, Computer Software Engineer
Category: Programming
Satisfied Customers: 32
Experience:  I have been a Software Solutions Engineer for over 15 years. My Specialties are Java, PHP, MySQL/MSSql, and Unix/BASH scripting.
67457047
Type Your Programming Question Here...
PoohBear5966 is online now

ra - 614

Customer Question

I have build project in NetBeans by using java. I have cleared and built the project. When I tried to open the jar file it comes with error:
java.lang.ClassNotFoundException: org.sqlite.JDBC
I believe it has got something to do with path of the database, which has changed.
How do I fix it, so I can open when the jar file is moved to different path?
Submitted: 3 years ago.
Category: Programming
Expert:  PoohBear5966 replied 3 years ago.

PoohBear5966 :

Hi there. How can I help you today?

Customer:

Hi

Customer:

I have created a project in Netbeans. The project use database, which is part of the package....

Customer:

After I completed all the codes, I cleared and built it.....and it created jar file.

Customer:

When I move the jar file to desktop or any another folder....it comes with the error: java.lang.ClassNotFoundException: org.sqlite.JDBC

Customer:

This is my problem...i need to somehow around...so when the user double click on jar file...it works and use the database which is part of the jar file

Customer:

Hope this make sense

PoohBear5966 :

You would have to get the JDBC driver for sqlite and place it in the the same place as your resulting jar file. Then you would have to add it to the classpath to run your applicaiton.

PoohBear5966 :

If you need help doing this, let me know and I will walk you though it step by step.

PoohBear5966 :

(The key here is that it is making a jar of your code, but not the SQLITE code and therefore you need the SQLLITE jar in conjunction with yours)

Customer:

Hi

Customer:

I just want to say thank you......but I have already solved the problem.

Customer:

There was more what needed to be change....as I already had sqlite jar in and driver.

Customer:

The problem was, that when I built it, the path was not correct. When i put just the database....it couldn't find it....but i have fixed all.

Customer:

Thank you again for your time.

Customer:

Can I ask you something what is relative to the previous question?

Customer:

I have build and installed jar file......it is running.....and it also working.

Customer:

There is only one problem....when i click to create pdf file......it gives me message:

Customer:

java.io.FileNotFoundException: name of the document.pdf ( Access is denied)

Customer:

any idea how to fix this?

Customer:

All fixed.

Customer:

Thank you

Customer:

There is no more questions.

PoohBear5966, Computer Software Engineer
Category: Programming
Satisfied Customers: 32
Experience: I have been a Software Solutions Engineer for over 15 years. My Specialties are Java, PHP, MySQL/MSSql, and Unix/BASH scripting.
PoohBear5966 and other Programming Specialists are ready to help you
Customer: replied 3 years ago.

Sorry, but nobody actually solved my problem....could I have the money back on my account, please.


 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
< Previous | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
 
 
 

Meet The Experts:

 
 
 
  • ATLPROG

    ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7260
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
< Last | Next >
  • http://ww2.justanswer.com/uploads/SP/spatlanta2010/2011-6-23_12450_photo.64x64.gif ATLPROG's Avatar

    ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7260
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Computer Software Engineer

    Satisfied Customers:

    5514
    Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
  • http://ww2.justanswer.com/uploads/lifesaver333/2010-10-17_191349_ls.jpeg lifesaver's Avatar

    lifesaver

    Computer Software Engineer

    Satisfied Customers:

    936
    Several years of intensive programming and application development experience in various platforms.
  • http://ww2.justanswer.com/uploads/EH/ehabtutor/2012-8-2_202016_1.64x64.jpg ehabtutor's Avatar

    ehabtutor

    Computer Software Engineer

    Satisfied Customers:

    766
    Bachelor of computer science, 5+ years experience in software development, software company owner
  • http://ww2.justanswer.com/uploads/eljonis/2010-01-06_130406_eljon2.jpg Eljon's Avatar

    Eljon

    Consultant

    Satisfied Customers:

    558
    Founder of StockCanvas.com
  • http://ww2.justanswer.com/uploads/FA/fael/2011-1-15_104041_profile500x500.64x64.jpg Rafael Martins's Avatar

    Rafael Martins

    Computer Software Engineer

    Satisfied Customers:

    446
    Desktop, Mobile and Web Developer. 7+ years of experience. Creative solutions provider.
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Software Engineer

    Satisfied Customers:

    320
    Extensive Knowledge in PHP, MYSQL, CSS & Javascript