Results 1 to 3 of 3
  1. #1
    honey_bee155 is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default I lost the javax package.

    Ok, so I installed the jdk 7 and it was a weird installation. I'm using Ubuntu 11.10 (for some reason). Anyway the installation just put the jdk files in my home folder. So it didn't have all the connections that it should. I managed to connect a lot of them back together. Like getting the javac to work in the command lines. But I still get an err every time I try to
    Java Code:
    import javax.servlet.*;
    it's all like, "javax? wth is that?"
    Java Code:
    java:4: error: package javax.servlet does not exist
    import javax.servlet.*;

  2. #2
    honey_bee155 is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Re: I lost the javax package.

    I forgot to also mention that I got the jdk with netbeans, also, I tried to
    Java Code:
    import javax.swing.*;
    and it workedso it seems that it's just my javax.servlet.* that is busted. This might be different than I originally thought.

  3. #3
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

Similar Threads

  1. Add new package javax.comm
    By rjagan in forum New To Java
    Replies: 5
    Last Post: 04-12-2011, 10:07 AM
  2. package javax.swing does not exist
    By timosoft in forum AWT / Swing
    Replies: 5
    Last Post: 02-15-2011, 02:17 AM
  3. Where is javax.jnlp package?
    By bleah in forum New To Java
    Replies: 2
    Last Post: 05-20-2010, 02:04 AM
  4. package javax.servlet does not exist
    By nikhil2jan in forum Java Servlet
    Replies: 1
    Last Post: 01-04-2009, 05:32 PM
  5. javax.cypto package
    By remya_srinivasan in forum Advanced Java
    Replies: 1
    Last Post: 01-15-2008, 08:06 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •