Make a Database using Netbeans(Java)


  • Open Netbeans and go to 'Servise' tab
  • Write click on 'Java DB' and select 'Create Database...'
  • It will ask few things, fill them. Do not change the Database Location
  • Press ok
  • If you got error message like this, Write click on Java DB and click 'Start Server'
  • Now Your Database is created
  • You can see your Database like this
  • Now we have to make a table
  • Extract the database and write click on 'Table',and click 'Ctreate Table'
  • Give a table name
  • Right side you can see 'Add column' button. By clicking this button you can add a column.
  • In here I added 3 colums
  • Now your database is created