Unable to install new software/check for updates eclipse - java

I'm trying to install subclipse on my desktop so i can use subversion.
When I was at school with my laptop, the installation worked well and i was able to update and commit on the subversion, but, while i was at home, i tried to update and nothing worked. Then I tried on my desktop to install the subclipse plugin without success.
When I go to "Help>install new software>Work With Kepler - http://download.eclipse.org/releases/kepler"
Nothing appears on the software view except "pending..."
The thing I don't understand is that i'm not using a proxy at home, so i don't understand why it's freezing at this step.
Then, I tried to change my eclipse version but it didn't worked
I also tried to change my network settings without success
Anyone had the same problem before or know how to fix it ?
EDIT 1 : While waiting for the pending thing to resolv i had an error :
"Unable to read repository at http: //download.eclipse.org/releases/kepler/content.xml.
Unable to read repository at http: //download.eclipse.org/releases/kepler/content.xml.
Connection has been shut down"

I solved a similar issue today with a new eclipse Kepler installation on a machine with Java 7. We eventually got it to work by having eclipse run on a Java 6 JRE instead.
To do this, add
-vm
C:\Program Files\Java\jre6\bin\javaw.exe
Above the -vmargs line in your eclipse.ini file (which should be next to your eclipse.exe)

Looks like you have extra whitespace between : and /

Related

Oracle Sql developer error: could not install some modules

I have downloaded a fresh copy of sqldeveloper (sqldeveloper-4.1.3.20.78-no-jre) from the Oracle website. When I unzip it and lauch the GUI, I keep getting the following error message:
Warning - could not install some modules: Dynamic Module Config - No
module providing the capability org.netbeans.Netbinox could be found.
My system:
Windows 7 32 bit Hp Probook.
Jdk 1.6 , 1.7, 1.8 available in java/jdk
subdirectory.
Netbeans 8.0.2 installed
Finally got the way out after some dirty hours. Initially I extracted the sqldeveloper zip in a nested directory.
i.e: E://A/B/C/sqldeveloper.
starting sqldeveloper gui from the above directory threw erros.
Solution:
Go in C:\users**UserName**\AppData\Roaming : delete SQL Developer and sqldeveloper folders
Extract the Sql Developer zip in a new non nested directory. i.e: E://
Start it and should work now
Reference: https://community.oracle.com/thread/3870680?start=0&tstart=0
This is a very old post but I have had the same issue recently on version 22.2, and this might help.
WARNING: You may lose important settings with this solution.
Try deleting the system cache under C:\Users<your_user_name>\AppData\Roaming\SQL Developer\{whatever}
(or simply everything in that folder). This solved the problem for me, but obviously you do lose configuration settings, connections, and so on, ie, everything you've ever done in SQL Developer - so be careful.
In my case it was enough to change JDK pass to Java 8 in the
C:\Users\YourName\AppData\Roaming\sqldeveloper\19.2.1\product.conf file:
SetJavaHome C:\Program Files\Java\jdk1.8.0_202
I have Java 13 as default and although SQL developer complained at startup it worked OK with it until I started it and went away from the computer, so I missed the warning screen. After that it started to show the "could not install the modules" error.
For those that are working on a linux machine, for me worked just changing the jdk version that I'm currently using. I change went to the path usr/lib/jvm/ and look for the versions that my pc have. Then in ~/.sqldeveloper/"yourversion"/product.conf I changed the Java home to java-8-openjdk (It was using the 11 version)
In my case renaming/deleting only this folder was good enough:
C:\Users*username*\AppData\Roaming\SQL Developer\system22.2.0.173.2018
This way I could still import old connections after starting sqldeveloper again
Based on This I just deleted mypath\sqldeveloper\netbeans\platform\modules\org-netbeans-core-windows.jar and it works fine for me.
I found that I was getting this error after I reinstalled java while keeping an instance of sqldeveloper running.
After I ended the running instance, then I could start a new instance.
This is tricky, so when the could not install some modules board shows up, click the disable modules and continue, then immediately open the app again it should work :)))
The solution in my case was to unzip the SQL developer in a directory without special characters.
At first, I had exported it in a directory that included the hash (#) symbol.
I now have it in a nested directory again, without any special characters, and it works as expected.

JetBrains IntelliJ Error launching Intellij Platform - Error invoking main method

I have IntelliJ IDEA and other JetBrains products installed and they worked great (PyCharm, Android Studio, Clion, WebStorm) till today, now I just get opening message:
Error launching Intellij Platform - Error invoking main method
I have installed:
C:\Program Files\Java\jdk1.8.0_25
C:\Program Files\Java\jre1.8.0_25
and JAVA_HOME is pointing to jdk.
I posted at: https://devnet.jetbrains.com/message/5533036#5533036 and https://devnet.jetbrains.com/thread/459951
I installed (clean) Windows 8.1 and now it works, but there should be option to wipe all java configs from Windows to avoid such mess, cause this is not the solution.
I meet this error today. Java update message jump out when I work with AndroidStudio. I accept it but my AS can't display res files after installation. I restart AS and see the error.
I guess new version java produce the error. The updated java part is jre, version is 1.8.0_101, but jdk's version is still 1.8.0_92. So I download and install new version jdk(1.8.0_101, the same as jre).
AndroidStudio successfully starts now.
Maybe this solution can also work to IDEA.
For people who couldn't solve it by having the same version of JDK and JRE.
Uninstall IntelliJ and also clean all the files that are not swept automatically by uninstalling. you can find them in C:\Users\Usuario\AppData on Local and LocalLow find the JetBrains folder and delete all the files related to IntelliJ.
Then proceed to reinstalling it. That solved it for me.

Installed Eclipse, but it won't start

My Eclipse Kepler had been running just fine until I messed up some settings and then had to delete the installation directory and re-extract the zip file. I also deleted the workspaces.
But after I had extracted the zip file, the Eclipse just won't start.
I tried extracting to another drive (C:) this time, still won't start.
Also tried the -clean option, but to no avail.
What went wrong?
There are few things I could think of that are trivial, but might solve your problem. Maybe you changed JAVA_HOME in Path, or deleted it. Check for Environment Variables for JAVA_HOME.
Another thing is that you have Java 6 and you need Java 7. Or in your case, you need Java 7 x64. Maybe you have installed Java 7 x64, but JAVA_HOME points to another version of Java. Check for that too.
Ultimate solution is to write in eclipse.ini argument for desired virtual machine path, like:
-vm
/path/to/desired/java/vm
You can start eclipse with debug / console flag and see exactly what is happening
Run eclipsec.exe this will launch Eclipse with a debug console in the background.

Android SDK suddenly stopped working

After a couple of months with no Android development, I ran the SDK Manager yesterday, and upgraded from r16 to r18. After that upgrade, everything stopped working. I downloaded a fresh copy of the SDK tools from Google. The Windows installer complains there's no Java installed (the solution here , which used to work before, doesn't work).
I downloaded the ZIP file instead and put it in the right place. Running SDK Manager.EXE does nothing (it just returns immediately to the command prompt). Running tools\android.bat displays an error complaining "Failed to convert path to a short DOS path: c:\windows\system32\java.exe", and then suggests I install Java.
I'm running Windows 7 64-bit, with Java 1.7 (64 bit) properly installed (Eclipse runs well, the Android tools r16 ran very well until yesterday). c:\windows\system32\java.exe exists and works as it should.
What am I doing wrong?
UPDATE: I found an old r16 setup around. I installed it and everything went back to normal.
I put this one aside for a while, but now I had to get it back running. I didn't want to install a 32-bit Java VM alongside the 64 bit one I have.
I found the culprit. in android_sdk\tools\lib there's a batch-file called find_java.bat. It calls find_java.exe -s to find a list of potential Java locations. Running the exe file like this returns the error I've been seeing:
Failed to convert path to short DOS path: c:\windows\system32\java.exe
-s stands for short. Running it without the -s causes find_java.exe to work, causing find_java.bat to work, causing everything else to work. So the fix was to edit find_java.bat, and remove the -s .
I honestly don't know what Google is thinking.
My fix was to remove /bin from my JAVA_HOME, as in C:\Java\jdk1.6.0_26\bin --> C:\Java\jdk1.6.0_26\
I'm running 64bit java on W7.
This google issue was helpful:
http://code.google.com/p/android/issues/detail?id=23648
This is just a guess, but I advise you to install JDK 6. It is said in the SDK requirements that you have to use it. I remember that I installed JDK 7 and I had some kind of trouble with it too.
Also it is safer to use the 32-bit version.
You need to also update the Eclipse plugins via Help > Install New Software.
I was able to fix same like problem by adding the jdk path to PATH variable in environment variables.

Netbeans/plugin update and strange behaviour

I installed Netbeans 7.1.1 to my Windows 7 64 bit. Whenever I try to update it, or install JUNIT/SWING plugin the updating process bar freezes.
I read about installing it to a folder where it has write access so I installed Netbeans to my D drive and start it with admin rights but nothing more happened.
The other problem is that when I exit from Netbeans it often restarts itself after closing which looks strange.
Does anyone have idea what to do? Has anyone seen the same?
Previously I had Netbeans 7.0 on windows 7 32bit installed to D:\Netbeans which was working...
I think I found the solution. I read everywhere that I have to turn off the firewalls, try to install it manually, or install it as administrator but these were not enough. I had to add netbeans as an exception into every antivirus softwares as well! [like AVG]
Summa smummarum if you have the same problem, do the followings:
1. Install netbeans to somewhere except system diretories [I installed it to my D drive]
2. Add Netbeans to your firewall exception list.
3. Add Netbeans to all your antivirus softwares exception list as well.
I hope it will help everyone who has the same issue.

Categories

Resources