This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Error (compile time) for JAVAX package  RSS feed

 
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?
 
Ranch Hand
Posts: 308
  • 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: 308
  • 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: 308
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
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: 308
  • 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: 308
  • 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?
 
Do you want ants? Because that's how you get ants. And a tiny ads:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!