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 8407263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:18:48+00:00 2026-06-09T23:18:48+00:00

Newbie: I am just trying to get the example code shown below to work.

  • 0

Newbie: I am just trying to get the example code shown below to work. I am using Linux Ubuntu 12.04, NetBeans 7.2. The article link is here:

http://docs.oracle.com/javase/tutorial/jdbc/overview/index.html

I am getting “Cannot find symbol” error for the red squiggly lines shown below. All I’m trying to do is get that small snippet of code that is highlighted below to run, that’s it.

enter image description here

enter image description here

enter image description here

  • 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-06-09T23:18:49+00:00Added an answer on June 9, 2026 at 11:18 pm

    Add import statements to your Java program to import required classes in your Java code.Import JDBC Packages like this;

         import java.sql.*;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get the graphics debugger working using the sample code from Lesson3.Cubes
I am newbie to jQuery , just trying to learn it since last couple
Please bear with me, newbie just learning the ropes. I am getting the below
I am a newbie to Linux and am trying to extract portion of a
(Mercurial newbie) I'm trying to get hg log to give me the full changeset
I am a C++ newbie trying to compile code on MacOSX that requires f2c
I am a newbie in Android and I'm just trying to permanently store a
I am a newbie to scripting and I am trying to get better. I
I am a Plone newbie and am trying to install Plone 4.0.5 on Ubuntu
A pretty newbie question as I rarely work with XML. I'm trying out writing

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.