Jump to content
  • 0

Strange Error While Compiling


Question

Recommended Posts

  • 0
Posted

1) Run Configurations

  • Right click on your project
    • then click "Run" -> "Run Configurations..."
    • there check your settings for you project (e. g. in my case it was the Apache Tomcat)
    • here look into you tab "Classpath" under "User Entries"

2) Project classpath

  • Right click on your project -> "Properties" -> "Java Build Path"
    • now check the "Source" Tab as well as your "Libraries" Tab
    • Problems should be marked red in the "Libraries" tab
  • 0
Posted

 

1) Run Configurations

  • Right click on your project
    • then click "Run" -> "Run Configurations..."
    • there check your settings for you project (e. g. in my case it was the Apache Tomcat)
    • here look into you tab "Classpath" under "User Entries"

2) Project classpath

  • Right click on your project -> "Properties" -> "Java Build Path"
    • now check the "Source" Tab as well as your "Libraries" Tab
    • Problems should be marked red in the "Libraries" tab

 

http://prntscr.com/doox6m Lib tab

http://prntscr.com/dooxf4 Source tab i think here is the error,but how do i fix it (?)

  • 0
Posted

Read the error.. Bcs such directory doesn't exist. Change to another eclipse, as it's eclipse issue, or create folder program%20Files/.. and put the jar.

  • 0
Posted

http://prntscr.com/dot892 Already done that so it's not an common error,but a pain in the ass error... 

 

Read the error.. Bcs such directory doesn't exist. Change to another eclipse, as it's eclipse issue, or create folder program%20Files/.. and put the jar.

Well,it sounds a little bit weird to be that but i created also a folder program bla bla still the error,also im using Eclipse Mars.2

  • 0
Posted

Well,it sounds a little bit weird to be that but i created also a folder program bla bla still the error,also im using Eclipse Mars.2

Looks like you didn't, error is clear. Screen or didn't happen :P

  • 0
Posted

Looks like you didn't, error is clear. Screen or didn't happen :P

Well actually i think you try to troll me,i need serious answers for this stupid problem please

  • 0
Posted

Well actually i think you try to troll me,i need serious answers for this stupid problem please

Just move to another eclipse.

Not hard.

  • 0
Posted

Right click on build.xml > Run as... External Tools Configuration > Classpath tab > Additional Tasks and Support > Add external JARs > point to your jdkpath\lib\tools.jar.

 

Use latest Eclipse and latest JDK, delete all previous.

  • 0
Posted

Right click on build.xml > Run as... External Tools Configuration > Classpath tab > Additional Tasks and Support > Add external JARs > point to your jdkpath\lib\tools.jar.

 

Use latest Eclipse and latest JDK, delete all previous.

http://prntscr.com/doy0p6 still have the error

  • 0
Posted

I'm not using eclipse but I managed to do it... ;D

This is how my eclipse looks after I've added tools.jar: Window -> Preferences -> Installed JREs :lol:

You can manually add the missing tools.jar by clicking "Edit" on the selected JDK, and then "Add External JARs..."... Hope it helps. ;D

http://prnt.sc/doyvme

  • 0
Posted

http://prntscr.com/doy0p6 still have the error

If you use the latest eclipse, close it and re-open it with another workspace name.. Then try again..

Not success? Download previous version.

 

I had the same problem. The first time I fixed that by adding tools.jar

The second time, I used another eclipse.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock