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

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...