Skip to content

Strange Error While Compiling

Featured Replies

Anyone has any idea why i have that strange error? Im trying to compile some shits from a friend's pc and ...

 

http://prntscr.com/dol9xg

http://prntscr.com/dol9sv

  • Author

Where are all the Pro Developers dissapeard?

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
  • Author

 

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 (?)

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.

  • Author

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

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

  • Author

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

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.

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.

Lol answers guys, ending the year pretty well !

 

Taunt without giving answer, take some cold bath.

  • Author

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

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.