Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Jbuilder8 import winnt/java/classes problem

Posted on 2003-03-12
4
Medium Priority
?
154 Views
Last Modified: 2010-03-31
Does anyone know why I can use * when importing existing java classes into a class as long as they are not held in winnt/java/classes. It looks like i have to explicitly import the class that I want if it is held in this directory but if i move my classes to another directory i can use *. Is there any way round this ?

carlo
0
Comment
Question by:cforte
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 300 total points
ID: 8118983
 Some directories/jar files are in the classpath by default. However if your classes are not in a directory under your classpath you cannot import them. You will have to put the directory you want under your classpath. You can do that by doing:

  set CLASSPATH=%CLASSPATH%;<directory with your classes>

  or, if you work on Linux:

  export CLASSPATH=$CLASSPATH:<directory with your classes>
0
 

Expert Comment

by:CleanupPing
ID: 9058748
cforte:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 35

Expert Comment

by:girionis
ID: 9714380
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points to girionis

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

girionis
EE Cleanup Volunteer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question