Results 1 to 5 of 5
  1. #1
    leiferouis is offline Member
    Join Date
    Jan 2009
    Posts
    31
    Rep Power
    0

    Default Reading Libraries.

    I've recently just switched a programing software for java. From ready to program IDE from holt to JCreator. There was always this library that i imported with ready to program:
    Java Code:
    import hsa.Console;
    However, I cannot import this anymore, I'm pretty sure the reason is that JCreator does not have 'hsa.console'.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    You may wish to use a Scanner object instead to get input.

  3. #3
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    You're guess is probably correct. 'hsa.console' is not a standard Java package.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    If you want to use external packages, add them into the classpath. Once you added in to the classpath, able to use in any project.

    I don't know how it works in JCreator, but in NetBeans you can add external jar files only related to a specific project. Not for the all project. For multiple project you have to add multiple times.

  5. #5
    leiferouis is offline Member
    Join Date
    Jan 2009
    Posts
    31
    Rep Power
    0

    Default

    How would I import the library into JCreator? My guess is to drag the file into the filetemplates>>>Java Classes folder of JCreator's directory on my computer. However, I'm not sure that will work.

Similar Threads

  1. Location of java class libraries on Sun
    By phudgens in forum New To Java
    Replies: 3
    Last Post: 02-05-2009, 05:45 AM
  2. Accessing libraries in Eclipse
    By JL4 in forum New To Java
    Replies: 0
    Last Post: 12-26-2008, 04:11 PM
  3. digital sign libraries
    By Shuru in forum Advanced Java
    Replies: 4
    Last Post: 11-07-2008, 09:01 AM
  4. ERROR: Can't find dependent libraries
    By baltimore in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 07:37 AM
  5. PoJoe Component Libraries 1.1
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-08-2007, 11:23 AM

Posting Permissions

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