• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

error javac + javaee.jar : custom classpath

 
Ranch Hand
Posts: 63
Firefox Browser Postgres Database Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to use a non-default path for the classpath to javaee.jar, javac will not compile my class. However, If my use the path to the javaee.jar file in the glassfish installation it will compile. Can anyone explain to me why this is happening?



This code comes from the cattle drive example found here.
 
Ranch Hand
Posts: 109
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Richard,

Copy javaee.jar just into the /lib/ without copying /lib/development/. And try again.
May be you have to generate build.xml files or project.xml files or edit them as necessary.
 
Richard Broersma
Ranch Hand
Posts: 63
Firefox Browser Postgres Database Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks you for your response. It looks like the result is the same when I put javaee.jar in the lib directory:



As far as altering the build.xml file. I understand that I can get everything to work if my modify the javac classpath property to point to the glassfish lib directory. But the Cattle drive assignment requires that I put the javaee.jar file in the lib\development directory. So, I'd like to find a conclusive answer as to why this isn't working the way the assignment directions say that their suppose to.

TIA.
 
A sonic boom would certainly ruin a giant souffle. But this tiny ad would protect it:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic