error message: package Jfxcore does not exist

I have a file "Jfxcore.jar" in C:\Project. I added C:\Project\Jfxcore.jar to the classpath ( in xp control panel).

My app, test1, has the line: import Jfxcore.*;

It is also located in C:\Project

when I compile from the commad line with : javac test1.java or javac -cp . test1.java i get the error: package Jfxcore does not exist.

importing any of the stuff that comes with java works fine. It only fails when I try to import my own jar or class files.

I think I must have missed a step somewhere. Can anyone see what I am doing wrong? Thanks for the help.

[592 byte] By [chaos13a] at [2007-11-26 18:31:25]
# 1
You explicitly have to add the jar to your classpath: javac -cp .;Jfxcore.jar test1.java
Peetzorea at 2007-7-9 6:05:33 > top of Java-index,Java Essentials,New To Java...
# 2
I still get the same error message.
chaos13a at 2007-7-9 6:05:33 > top of Java-index,Java Essentials,New To Java...
# 3
What are the package names inside Jfxcore.jar? Is it really Jfxcore.* or is it another package name like com.yourcompany.Jfxcore? In that case you need to import com.yourcompany.Jfxcore.
Peetzorea at 2007-7-9 6:05:33 > top of Java-index,Java Essentials,New To Java...
# 4

Inside the jar file it has about 20 classes but they are named with

"fxcore.classname" instead of Jfxcore.classname

I did not write the jar file and thought if the file name is Jfxcore.jar then that is what I should import.

when I use import fxcore.* it works.

I knew I was doing something stupid. Thanks for the help, you pointed me in the right direction.

chaos13a at 2007-7-9 6:05:33 > top of Java-index,Java Essentials,New To Java...