Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error (compile time) for JAVAX package

 
ashish jadhav
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using following packages in my java application.
1) import javax.vecmath
2) import javax.media
when I Run application i got an error message: Packages does not exits
Can anyone please help me where i will get solution of this error?
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have that packages included in your project?
 
ashish jadhav
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Albareto,
Yes i have included that packages in my project.

Thanks!!
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And how do you include them? As you have put in your post:

1) import javax.vecmath
2) import javax.media

or

import javax.vecmath.*
import javax.media.*

?

I am trying to understand why is not working, sorry if I sound silly.
 
ashish jadhav
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Albareto,
Yes i have included that packages in my project.

Do you think i have to do some settings for javax package?like environment veriable setting.

Thanks!!
 
ashish jadhav
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am sending you my code details below,please see and reply me.
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you paste also the stacktrace? I have to tell to you that till today I had never heard about that packages but maybe with the stacktrace we can help you.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I Run application i got an error message: Packages does not exits


How are you compiling? In an IDE? How are you setting the compile environment?

Where did you put the vecmath library jar file?

Bill
 
ashish jadhav
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am using NetBeans IDE 6.0.
Can you please tell me what should i set in environment veriable?
Thanks!
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In eclipse you have to have a Classpath Variable and then add the libraries to the project (I do it with maven) but in NetBeans I have no idea of how doing that. I mean, I suppose you have to do the same but I don't know how to do it in this specific IDE.
 
ashish jadhav
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Albareto,
Can you please tell me which libraries i have to add in my project?
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course the ones you want to use... In NetBeans are not you getting a big error when importing the libraries because you don't have them in your class?
Does your project compile?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic