• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Problem of a real noob on packaging

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm noobiest of the Java universe. I type the code(exactly the same as in textbook) and try to 'javac' it and always find error about sth not found or sth can't be understanded. Unfortunately, that good textbook doesn't explain how to make it right. It tells me only just create a folder somewhere and package the classes, dividing by dot w.r.t. how I create the folders, then compile them. Plz help me get rid of my fool.
Thnx in the very very advance
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you post the problem code, along with the exact error messages you're receiving? :roll:

If you're working with packages, then I suspect the problem is with your CLASSPATH setting. See the following text...

http://www.faqs.org/docs/think_java/TIJ307.htm

(And/or search the forums for classpath.)
[ March 02, 2005: Message edited by: marc weber ]
 
I will suppress my every urge. But not this shameless plug:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic