• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java classpath problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone. I'm newbie in Java. I found a program and it uses jar files. I couldn't define the classpath to compile the file.



I'm getting error. for the method

Also in environment variables I wrote the path like this:



but it doesn't work. I also restarted the computer but it still doesn't work. What should I do to use these jar files? Thank you
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch

That error doesn't sound like a classpath problem nor a path problem. I presume you have quoted exactly what happened?

There will be more details about the error, particularly the line number where it occurred. It suggests there is no such method as getTextContent(). You will have to go back to that line and check it very carefully; if you have written gettextContent() as the name of the method that will be picked up as an error.

By the way: Don't put your work in the /bin folder. Make yourself a "javawork" or similar folder in some convenient location, eg My Documents, and keep all your work in that.
 
Rancher
Posts: 5008
38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you post errors, please copy and paste ALL of the message. Do NOT edit out parts of it.
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ekrem hi, yesterday I have sent a private message, which looks still unread today.. Do you want to check your private messages?..

Bye
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you want to post your replies in the forum instead? UseTheForumNotEmail please.

By using email or private messages, you will isolate the answers for only one person. Others cannot learn from your post now.
[ August 03, 2008: Message edited by: Rob Prime ]
 
Gulsum Ramazanoglu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rob hi it was irrelevant to Java, I just wanted to say hi and welcome to another Turk showed up here... so I thought that it wouldnt be welcomed here to place irrelevant replies.. because of this reason I preferred to send a pm.. but if its ok, its ok with me as well..
 
Campbell Ritchie
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apology accepted
 
There is no "i" in denial. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic