I have downloaded the Mars MIPS Simulator .jar file, and I have downloaded the java jdk file from oracle. Whenever I open the jar file, the IDE is there, but everything is greyed-out. I can't even edit the text in the window. When you select "Execute", three cut off windows appear in the box below, one titled "Text Segment", one "Data Segment", and one "Labels". I am thinking it is a failed installation, but I have no idea what else to do. Thank you for any help!
Here is a screenshot:
http://i.imgur.com/8O30Hzh.png
Hey I had the same problem! Just use the toolbar on the top and click paste and the edit window should work. And after you hit assemble, go to settings->Show labels window. Hope it helps!
I can tell you this:
I don't think it's an installation issue. As you said, you installed the JDK and then run the program succesfully. An installation issue would be an unexpected error because of a missing dependency, or something similar.
As this is not a programming question, I don't think StackOverflow is the correct site. You may search in the StackExchange site for an adequate community.
However, try putting the cursor at the bottom of the cut off windows to see if you can modify the size of the container panel.
UPDATE
Seems like the problem is that you are not editing a file, that's why the majority of the buttons are disabled. Try creating a new file: click the first button in the toolbar, the white one. Also, the menu item "file" should give you an option to do it.
Related
I installed Eclipse luna, Android SDK, ADT (all latest) & set up everything.
Even after re-starting Eclipse I don't see Welcome to Android screen. I can only see Welcome Screen. But the settings required for Android & Java were all set I believe so, so the installation might be done properly only.
I tried creating Android projects, on last dialog i.e. select Activity type, I select, click Finish ; the screen blinks and the same page is seen. I tried with variations (using different Activity type) & create 4 projects, can see the projects created, also the activity java file in src folder is created. But on Eclipse Don't see anything. But on top title, I see the project name.
Similarly to chk with I tried creating Java project, same thing. It seems somethign is wrong with Eclipse. Other than WElcome Screen I don't see anything. I even tried to open just a java file - file name is seen on top, but file contents not seen on screen.
Image of how I am creating project & its results :
After clicking Finish & Creating files, etc, again Step 5 is on focus and on back the Initial Welcome Screen is only seen.
If at all I click Finish again, then I get error that ApplicationName already exists.
See the Folders & Files created after clikcing Finish
The files, activity is created. So the Performing Changes has also done its work, but the view is lost ???
This is where I can't get what is happening & Why? What is going wrong here. I have only Android 5.0.1 API 21. I don't have 2.2 - Is that the reason !
Created Manifest File :
- - - -
Can someone please help me with this. I am stuck up and am in hurry to start working.
Any help is highly appreciated.
Thanks
Have you tried reset perspective? (Window -> Reset perspective)
Thanks to all. I got it solved.
I saw 2 icons on the top left below menu bar. On clicking that I could see the project explorer & other windows. And finally closed the Welcome Screen.
Thanks a lot for everybody's effort to help me solve my problem.
Thanks once again.
I made a project and when i run from Netbeans it runs well without problems.
When, i export .jar file (Shift-F11) and run the jar file,then one from my options on my projects does not work good,not as algorithm but it changes the position of buttons or do not show important icons. Other options runs good as i want.
Can anyone help me?
Thank you,
The problem that you have with icons not displayed is because they are not imported to your project, but instead are set as external images. Hope helps, though it's late I guess.
There is no syntax highlighting in java files in my eclipse..This happened all of a sudden..Not sure why..
This is how it is looking now..
As mentioned in other posts..i tried to change the color from preferences window and there is nothing when i type java..something really messed up...
AAny suggestions..
Update:
It seems Java plugin is not installed..as per the below screeenshot
And when i try to install java plugin it says new version is already installed as per the below screenshot
Closing the file's tab and re-opening it fixed it for me.
(I actually closed all the tabs...)
I faced the same issue all of a sudden after a commit/update project operation.
The point is, default editor of Eclipse has changed somehow and we have to set it back to normal.
Try the below method,
1. Goto Windows -> Click Preferences
2. From the Preferences window goto General -> Editors -> Click File Associations
3. You can choose the default editor for *.java files here
When I first opened Preferences, 'Text editor' was set as the default editor for .java files and then I changed it back to 'Java Editor'.
Now it works perfectly fine.
You probably have a corrupt installation or you have recently installed a corrupt plugin.
The following steps might help.
In your Install window,
view your "already installed" plugins.
select the "Installation History" tab.
select a previous stable configuration
Click the "Revert" button
TLDR; open another workspace, then come back to the original workspace.
Ok this is odd, but for me, all the highlighting suddenly went away for Java files. I explored all of these ideas here, with no effect. I created a new workspace, planning to move everything to it. I realized that can be a pain to move many projects over, so I went back into the original workspace to look at some settings, and poof - the highlighting was working again.
I have one java class file like a text editor.
I tried following,
Select the respective java class file from eclipse.
Right click on the file and mouse hover on "Open with".
Select java editor.
Now its works.
I started to learn swing and downloaded netbeans to work through the tutorials. Unfortunately, when I create a JFrame design view hangs instead of loading and the Navigator and Inspector panes just show up empty.
System details:
Linux Mint Maya
Netbeans version 7.0.1
java 1.6.0_24
Any ideas would be greatly appreciated.
In whatever editor/designer you choose, consider the approach shown here, in which the top-level container is created manually and one or more content panels are maintained in the designer.
look in the Netbeans View menu and choose "IDE log"
There may be an error message / exception there, that might give you a clue.
Reinstalling the nb-javac plugin fixed this issue for me.
I followed the steps here and it resolved my problem.
For me, this was caused by a "FormGuardedBlockError", because at one point in my project I copied all of the source out into Notepad++ and used that to replace the .java file, thereby stripping all of the //GEN-BEGIN and related directives.
You can close NetBeans, open the .java file in a plaintext editor and put these directives back by hand, but it may be easier to merge with an earlier version of your code (if you have one).
For more details, check out http://wiki.netbeans.org/FormGuardedBlockError
Menu->view->show edit toolbar fixed this for me , of course the file you select to edit must have jframe, added to it I think for design tab to appear.
Go to Menu -> Option -> Select "Java" from option windows tool
then Active
I'm having trouble setting the command-line arguments in Eclipse.
I've searched around the Internet but can't find anything that helps people with invisible textboxes. I even tried pressing the help button and nothing came up.
How does one set the command-line arguments in Eclipse for a Java project?
Screenshot of Eclipse http://static.zooomr.com/images/8978910_d91c113b07.jpg
Edit:
I've tried blowing away Eclipse and reinstalling to no avail.
I also scanned for JREs again and switched to using the JDK instead of the JRE. This did not help matters.
Try resizing the window to make the text boxes appear.
I tried it on my Mac and if you make the window small enough the text boxes get obscured.
You need to set the main class and java runtime version first to see the text boxes. Then put the args in the "Program arguments" textbox.