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

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: 80097
413
  • 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: 5077
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: 22818
132
Eclipse IDE Spring 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: 80097
413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apology accepted
 
Police line, do not cross. Well, this tiny ad can go through:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic