2 / 2 / 0 Регистрация: 09.10.2013 Сообщений: 48 |
|
1 |
|
26.01.2014, 10:14. Показов 3929. Ответов 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 |
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
-
Search
-
Search all Forums
-
Search this Forum
-
Search this Thread
-
-
Tools
-
Jump to Forum
-
-
#1
May 27, 2013
FeeltheST0RM-
View User Profile
-
View Posts
-
Send Message
- Mathematical Dessert
- Join Date:
4/25/2012
- Posts:
314
- Minecraft:
soccerwiz998
- Member Details
I’m using Forge by the way.
Hey i’m making a mod and accidentally clicked the run client twice which i now get an error sayingError exist in required project(s)
Minecraft
Proceed with launch?I tried to proceed but it didn’t work.
If i proceed in the bottom console i get
Error: Could not find or load main class Start
Any help? Thanks
-
-
#2
May 27, 2013
qwertysam-
View User Profile
-
View Posts
-
Send Message
- Obsidian Miner
- Join Date:
3/3/2011
- Posts:
1,309
- Minecraft:
qwertysam
- Member Details
This is probably caused because you have somehow altered the «minecraft.jar,» and Eclipse needs to rebuild the Environment but it doesn’t know it. Whenever this happens to me, I just restart Eclipse, or sometimes I’m lucky and it automatically rebuilds the environment.
Quote my post if you want me to see your reply!
-
-
#3
May 27, 2013
FeeltheST0RM-
View User Profile
-
View Posts
-
Send Message
- Mathematical Dessert
- Join Date:
4/25/2012
- Posts:
314
- Minecraft:
soccerwiz998
- Member Details
This is probably caused because you have somehow altered the «minecraft.jar,» and Eclipse needs to rebuild the Environment but it doesn’t know it. Whenever this happens to me, I just restart Eclipse, or sometimes I’m lucky and it automatically rebuilds the environment.
I have tried restarting my computer an closing, Thanks for the help i’ll keep trying.
-
-
#4
May 27, 2013
qwertysam-
View User Profile
-
View Posts
-
Send Message
- Obsidian Miner
- Join Date:
3/3/2011
- Posts:
1,309
- Minecraft:
qwertysam
- Member Details
You may need to reinstall eclipse, create a new workspace, or I don’t know what else could’ve happened for this error to appear, so you may need to re-decompile Minecraft and start over.
Quote my post if you want me to see your reply!
-
-
#5
May 27, 2013
FeeltheST0RM-
View User Profile
-
View Posts
-
Send Message
- Mathematical Dessert
- Join Date:
4/25/2012
- Posts:
314
- Minecraft:
soccerwiz998
- Member Details
This is probably caused because you have somehow altered the «minecraft.jar,» and Eclipse needs to rebuild the Environment but it doesn’t know it. Whenever this happens to me, I just restart Eclipse, or sometimes I’m lucky and it automatically rebuilds the environment.
Wait start my mod all over again? :/
-
-
#6
May 27, 2013
qwertysam-
View User Profile
-
View Posts
-
Send Message
- Obsidian Miner
- Join Date:
3/3/2011
- Posts:
1,309
- Minecraft:
qwertysam
- Member Details
idk, you might want to search online a bit more before restarting. It’s just an eclipse glitch.
Quote my post if you want me to see your reply!
-
-
#7
May 27, 2013
Ninoviski-
View User Profile
-
View Posts
-
Send Message
- Coal Miner
- Location:
Braz(s)il
- Join Date:
4/24/2013
- Posts:
109
- Minecraft:
Ninoviski
- Member Details
Hehey, i just, sometimes, copy the bin from src folder to the bin to eclipse and it works fine, or i just get lucky as you said and it works, or just is my computer that takes too long restarting
-
-
#8
May 27, 2013
FeeltheST0RM-
View User Profile
-
View Posts
-
Send Message
- Mathematical Dessert
- Join Date:
4/25/2012
- Posts:
314
- Minecraft:
soccerwiz998
- Member Details
Hehey, i just, sometimes, copy the bin from src folder to the bin to eclipse and it works fine, or i just get lucky as you said and it works, or just is my computer that takes too long restarting
Still didn’t work :/
-
-
#9
May 27, 2013
Ninoviski-
View User Profile
-
View Posts
-
Send Message
- Coal Miner
- Location:
Braz(s)il
- Join Date:
4/24/2013
- Posts:
109
- Minecraft:
Ninoviski
- Member Details
You go inside your mcp folder and open the src and eclipse, and go to the folder that has ibmx and all in the both (src and eclipse), then you pick up all the files from the src and past in the eclipse
Remembering, not the folder, the content, for exemple the ibmx, the folder with your mod .java’s …
If you are with the same error as me, your eclipse folder will be reset, check it, then you choose if you do it or not, its for your own risk manSee ya
-
-
#10
May 28, 2013
FeeltheST0RM-
View User Profile
-
View Posts
-
Send Message
- Mathematical Dessert
- Join Date:
4/25/2012
- Posts:
314
- Minecraft:
soccerwiz998
- Member Details
You go inside your mcp folder and open the src and eclipse, and go to the folder that has ibmx and all in the both (src and eclipse), then you pick up all the files from the src and past in the eclipse
Remembering, not the folder, the content, for exemple the ibmx, the folder with your mod .java’s …
If you are with the same error as me, your eclipse folder will be reset, check it, then you choose if you do it or not, its for your own risk manSee ya
the folders in the eclipse ibmx are .class and the ones in src are .java.
-
-
#11
May 28, 2013
Ninoviski-
View User Profile
-
View Posts
-
Send Message
- Coal Miner
- Location:
Braz(s)il
- Join Date:
4/24/2013
- Posts:
109
- Minecraft:
Ninoviski
- Member Details
the folders in the eclipse ibmx are .class and the ones in src are .java.
I know, but it works for me
-
-
#14
Jun 20, 2013
FinalKill9175-
View User Profile
-
View Posts
-
Send Message
- Carpenter
- Join Date:
6/7/2013
- Posts:
48
- Minecraft:
FinalKill9175
- Xbox:
Final Kill 9175
- Member Details
Im having a problem simular to this and i’ve been searching everywhere to fix this:
Here is the error when i try to run minecraft using eclipse:
Exception occurred executing command line.
Cannot run program «C:Program FilesJavajre7binjavaw.exe» (in directory «C:mcp1.5.2jars»): CreateProcess error=740, The requested operation requires elevation -
- To post a comment, please login.
Posts Quoted:
Reply
Clear All Quotes
В моем каталоге проектов верхнего уровня постоянно отображается красный значок, показывающий мне, что что-то не так. Однако ни один из моих файлов не отмечен красным, что говорит о том, что в них нет ошибок.
Когда я выполняю Run или Debug, я получаю уведомление о том, что «в требуемом проекте существуют ошибки». Я продолжаю, несмотря на это, и мой проект работает так, как ожидалось. В моем журнале ошибок я наблюдаю, что при запуске отладки/запуска появляется эта ошибка: «!ENTRY com.google.gdt.eclipse.core 4 0 2012-10-24 12:59:50.251! СООБЩЕНИЕ Не удалось изменить разрешения на файл конфигурации запуска»
Мои файлы appengine-web.xml и web.xml находятся в правильных местах, а appengine-web.xml имеет правильную ссылку на logging.properties, но в консоли я вижу, что «INFO: ведение журнала в JettyLogger (null) через com. google.apphosting.utils.jetty.JettyLogger».
В моем файле logging.properties есть только это: .level = WARNING, и у меня есть файл log4j.properties в моем каталоге WEB-INF/classes, в котором есть стандартный файл log4j.properties, сгенерированный «Плагином Google для Eclipse».
Я хотел бы понять 2 вещи: 1) Как мне изменить JettyLogger, чтобы он на самом деле не был нулевым, чтобы печатать на консоли. 2) Почему мой проект постоянно говорит мне, что существуют ошибки, когда я не вижу никаких доказательств этого в выполнении моего проекта?
Еще несколько вещей: мой проект работает на JRE6 с Appengine sdk 1.7.2, и проект успешно развертывается на Appspot.
Первоначально я использовал JRE7. Когда я узнал, что мне нужно использовать JRE6, я удалил JRE7, добавил JRE6 в свой путь сборки, и я почистил свой проект. Я проверил временные метки файлов каталога WEB-INF/classes, чтобы убедиться, что проект перестраивается. Я подозреваю, что причиной является что-то, связанное с этим изменением JRE, но очистка проекта не решила проблему.
Этот проект находится под контролем исходного кода Git с использованием плагина EGit.
Спасибо за ваше время, терпение в чтении моего подробного поста.