Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7176735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:34:10+00:00 2026-05-28T16:34:10+00:00

I have developed a Java Application that connects with a database (insert, select …)

  • 0

I have developed a Java Application that connects with a database (insert, select …) with Apache Derby as DBMS, this appication is running fine on NetBeans, but when I export it in a Jar, and I run it outside without NetBeans, I receive this error:

after running this command:

 java -jar jarre.jar

I get this list:

https://i.stack.imgur.com/7xka9.jpg

I want my application to be portable, without starting NetBeans.
I know that I am missing something, but exactly what, is something I want someone to put light on?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:34:10+00:00Added an answer on May 28, 2026 at 4:34 pm

    Derby is an ex-IBM product and they are a bit fanatic about security (which can be good or bad). In your case, the Derby database uses the Security Manager API to make sure a lot of things are “safe”. See the documentation how to properly configure your security manager on the Derby Server.

    The second option is to disable the security; don’t install a SecurityManager in your client.

    I once spent roughly a week to set everything up correctly. This seems odd because Derby supplies example security files. The problem is that once you install a SM, it applies to everything

    So you might need to change code in non-Derby parts, write more extensive policy files for those parts of the code and do a lot of ugly stuff that is scarcely documented. I didn’t like it. For the most part, it felt like stabbing in the dark.

    Disabling the security is often the preferred option unless your code was written with security in mind from the ground up (and all frameworks that you use, too).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a Java EE web application. This application allows a user to
We have an running application that is developed in struts-2.0.14 . In this we
I have a stand-alone Java windows application developed based on Swing. It connects to
Actually we have developed java midlet application , that needs to be downloaded through
I have to develop a Java ME (formerly known as J2ME) application that will
We have developed SOA architecure for our intranet application, so our web-start java applications
I have a Java Swing application, developed on Mac OS X 10.5 using Java
I have developed a basic Chat application in Java. It consists of a server
I have developed an Java application with RMI,JPA and H2DB, look at the screenshot
I have developed a Java application and now i want to give some simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.