I use MacOS High Siearra. My Eclipse IDE version is Oxygen 3(4.3.2). I have a big problem.
I accidentally shrunk my console area and text in the text field (using Command (-)) but now when I turn the screen back on, I close my tabs and when I reopen them the page opens in the smallest size. I have to fix it every time.
Also, I have not been able to make my console screen larger again if using a mouse. I'm glad you helped me. I also thought about reinstalling the IDE, but when I delete it from the application screen and install it again, I still have the same problem. I think I could not delete it with all the system folders. Please help me ... Thanks
These settings are stored in the workspace metadata which on mac is at location:
<your root path>/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings . Remove the intended setting from there and restart eclipse.
For example, my editor settings are in the file org.eclipse.ui.editors.prefs with content:
eclipse.preferences.version=1
lineNumberRuler=true
overviewRuler_migration=migrated_3.1
spellingEnabled=true
Related
Netbeans is freezing when I open a particular file, it freezes and I have to kill the process. When I debug the file the entire OS freezes and only the mouse cursor stays active. I have to press the power button to reboot. When I press CTRL + f and I try to find text inside that troubled file the netbeans freezes. What can it be? I've tried to create another file and copy the contents it didn't work. I've tried to clear and build the projects and it didn't work.
Get rid of the project and clone it again! It solved my problem.
On a Mac, there is a button on the screen menu bar that is the name of an application. For example, for terminal, there is a button at the top of the screen labeled Terminal. When you click it, there is a options that says About Terminal. When this is clicked, it shows information about the application. Here is a picture:
How can I add this to my application in Java? When I do this now, this is what shows up:
As you can see, it shows the Java version etc. Is there a way to change this into a more professional format?
If your Window extends JFrame, just use the setIconImage or setIconImages method to set your icon.
From the corresponding JavaDoc:
Sets the image to be displayed as the icon for this window.
The other information is read from the executable metadata. If you run your app using Java directly, you can't change it. For my applications, I generate an executable file using Install4J, where the installer adds the metadata to the generated executable.
Thanks, I've solved the problem. It was a simple mistake, when I packaged it together using a packager it worked fine. Thanks for all your help!
I tried the other solutions but they didn't worked, so please don't just say "It's a duplicated so now you have to open this link." Because I tried them.
I have Windows 8.1 and I installed Java 8 JDK some days ago, now I unistalled it because I've had some problems with it (like the PATH for cmd was not set), and after unistalling it I tried to open the Java installer, after the UAC popup nothing happen. I tried opening the installer "sandboxed" with the program "Sandboxie", the Installer opened 2 services, after a few seconds another service opened and then every service closed.
I have no error, no logs, nothing.
P.S.
I tried downloading again the installer 3 times, nothing changed.
Edit:
JRE Installer doesn't start either.
Edit:
I'm actually in safe mode with internet connection and the installer still don't want to run... I don't know what to do now...
I tried with "sfc /scannow" and it said there was no problem, I tried "DISM.exe /Online /Cleanup-image /Restorehealth" too, no problem got reported.
Edit:
I tried running the installer with a Guest account, nothing changed. Anyway I found a solution.
I searched for everything that contains "Java" in C:\ and I found some value (that could have prevented Java Installer from running because it thought Java was already installed), I deleted them (carefully, don't just delete everything on your computer, that's not the way.)
Now I tried launching the installer and.. Here we go! Finally I can install it.
Thanks to anyone who tried to help me, I appreciate it.
In my case problem was in C:/Users folder. Initially my OS language was not English, after changing, it causes some errors. I couldn't install jdk, couldn't run some desktop tools. After looking for the solution, I could found it. My user name in Users folder had non English letters. So, I changed name of user and it solved my problem:
https://superuser.com/questions/890812/how-to-rename-the-user-folder-in-windows-10
You should add java in Path:
Open the System Properties.
Find the Advanced Tab in the Properties Window. Click Environmental Variables.
Scroll down in the System variables and find the PATH variable.
Select the PATH variable and click the Edit button.
Add the Java installation path to the PATH variable (dir_java/bin)
And also create system variable JAVA_HOME
What antivirus are you using?
If your av has some kind of process viewer that you can use to see when it starts and when it terminates and if it is marked a suspicious. Here is a screenshot from my av. I use comodo image here
If your av doesn't have this feature, try turning it off during the installation. Remember to turn it back on after you're done
When I click on the downloaded libgdx file I select run with Java then the libgdx window pops up I check android (and tried to check desktop too) and leave the names default and some times I tried to change them and for extensions I leave it as default the only one checked is box 2D.
Its says in the little console below that it's generating an app in my desired path then its just stuck there for hours.
(I checked task manager and its not using almost any resources other than 60 mbs of ram)
This problem could possibly happen if the application cannot write into the destination folder you choose. So avoid making the destination folder inside the system32 folder or such.
Run the jar file from the command prompt to see the exception it generates which should explain the problem:
Hold down the Windows button and tap the 'r' key.
In the dialog type 'cmd' then enter.
Copy this text using ctrl-c, include all quotes. Adjust the file names to point to your Java VM runtime and your downloaded
gdx-setup.jar file: "C:\Program
Files\AdoptOpenJDK\jdk-8.0.222.10-hotspot\bin\java.exe" -jar "C:\Users\keith\Downloads\gdx-setup.jar"
Paste the text into the command prompt by pressing ctrl-insert (the zero key on the numpad). Alternatively, tap the top left icon,
then edit, then paste.
See what the specific exception is in the cmd console when the gdx setup program runs.
I am just starting off in Java and trying to follow buckythenewboston on you tube. I have java and eclipse neon both downloaded correctly. However, when I create a new project like he showed in the video, I click finish and nothing shows up, in the video it showed on the side there should be a like java symbol with the name of the project I created. Well nothing happens it is blank on my screen. I tried opening a file from the work space in my C drive and that doesn't work either as nothing shows up so I can create a class. I know there is a couple of forum questions with similar title but that is different I think as they can at least get code in where I can't. Any explanation as what is going on would be helpful. I also tried to go to file-import-existing project... but the existing project part isn't an option.
Thanks in advance.
go into your workspace directory and delete .metadata folder, then restart eclipse
Close all perspectives and open a new one, the one you like.