I use eclipse to code in java. My code was running perfectly fine. Finally, i deleted some files which were not needed from my drive.
Right now, I have the source file and the compiled .class files in the correct folders. Also, although I initially had multiple .java files, I am 100% sure that the one I need is there and also that it doesn’t need anything from any other thing. All the imports (i import only from standard libraries) are showing no error.
The problem is that when i make any changes in my .java file, and save it, it does get saved but when I execute the code, it runs just like the old version, i.e. the changes are not reflected in the output. Also, on clicking ‘run’, eclipse gives a warning that ‘errors exist in required projects’ although the editor shows none.
Whats going wrong ? Please help.
I started from scratch…
- New install of Eclipse 2021-09
- New install of idf-eclipse-plugin
- New workspace
- Create new Espressif IDF Project
- Selected template storage/sd_card/sdmmc
- Created target for esp32s3
- Opened main/sd_card_example_main.c for the first time…
A build hadn’t been done yet so the missing includes are expected.
- Started a build which completed successfully.
The includes have all been found but there are still unresolved symbols.
- Start a flash
-
Pressed «Proceed» and the flash completed successfully.
-
Re-run the indexer
Everything except this one define is resolved.
- CTRL-click on SDMMC_SLOT_FLAG_INTERNAL_PULLUP
I get taken directly to the definition in sdmmc_host.h.
- Closed the project
- Did an idf fullclean from a shell
- Reopened the project and sd_card_example_main.c
Now there’s a different set of errors.
This is only a small sample project. In my larger projects this is way more intrusive.
There are no errors in the Eclipse log BTW.
Loading
I use eclipse to code in java. My code was running perfectly fine. Finally, i deleted some files which were not needed from my drive.
Right now, I have the source file and the compiled .class files in the correct folders. Also, although I initially had multiple .java files, I am 100% sure that the one I need is there and also that it doesn’t need anything from any other thing. All the imports (i import only from standard libraries) are showing no error.
The problem is that when i make any changes in my .java file, and save it, it does get saved but when I execute the code, it runs just like the old version, i.e. the changes are not reflected in the output. Also, on clicking ‘run’, eclipse gives a warning that ‘errors exist in required projects’ although the editor shows none.
Whats going wrong ? Please help.
2 / 2 / 0 Регистрация: 09.10.2013 Сообщений: 48 |
|
1 |
|
26.01.2014, 10:14. Показов 4103. Ответов 5
Здравствуйте, народ! Мне посоветовали Eclipse, и я теперь не могу понять его. Я говорю: File — New — Java Project — ProjectName=Hello — Finish — File — New — Class — Helloworld — ставлю галку рядом с void main(String[] args) — Finish — пишу в main’е System.out.print(2+2);
0 |
Programming Эксперт 94731 / 64177 / 26122 Регистрация: 12.04.2006 Сообщений: 116,782 |
26.01.2014, 10:14 |
Ответы с готовыми решениями: Скачал eclipse-SDK-3.7-win32, распаковал, запустил, а мне выдает ошибку Правильно-ли мне посоветовали "Затем, если хотите поднять посещаемость, выделите ядро… Научите пользоваться MinGW научите пользоваться ds1054z 5 |
237 / 236 / 72 Регистрация: 02.07.2013 Сообщений: 881 |
|
26.01.2014, 10:39 |
2 |
Java-машину устанавливали ПЕРЕД установкой Эклипса? посмотрите, куда в Эклипсе сохраняются Ваши проекты. И затем, соответственно, что там находится.
0 |
3 / 1 / 0 Регистрация: 22.01.2014 Сообщений: 11 |
|
26.01.2014, 13:25 |
3 |
а что в Eclipse — Run Configurations, вкладка JRE ?
1 |
2 / 2 / 0 Регистрация: 09.10.2013 Сообщений: 48 |
|
26.01.2014, 18:21 [ТС] |
4 |
1) да, перед установкой Eclipse. Добавлено через 1 минуту
0 |
237 / 236 / 72 Регистрация: 02.07.2013 Сообщений: 881 |
|
27.01.2014, 08:31 |
5 |
что-то криво у Вас встало Добавлено через 2 минуты
(undefined) а должно быть (jre7)
0 |
ɐwʎ ɔ vǝmоɔ dиw ɐʚонɔ 443 / 442 / 100 Регистрация: 14.10.2012 Сообщений: 1,146 Записей в блоге: 9 |
|
27.01.2014, 18:14 |
6 |
там где (undefined) нужно выбрать папочку с jre7 (как правило в program files/Java…)
1 |