I tried to install jdk-6u23-linux-i586-rpm.binon Linux. I used sh jdk-6u23-linux-i586-rpm.binto run.
But I got following errors.
Is there issue with installer? or is there something I missed?
Run the rpm using -x option to get debug information. That shall help identifying the root cause.
Use sh -x jdk-6u23-linux-i586-rpm.bin to install the rpm and see what all operations does the shell performs.
Finally I figured it out. There was an issue in installation package, I downloaded jdk-6u23-linux-i586-rpm.bin and it works fine.
Related
I am trying to setup sakai on my local machine, these steps when I reached the steps on Compile Sakai Source Code I was able to run mvn clean install with 'BUILD SUCCESS' output, but when I ran
mvn clean install sakai:deploy -Dmaven.tomcat.home=$CATALINA_HOME -Djava.net.preferIPv4Stack=true -Dmaven.test.skip=true
I got the error:
but when I ran the same command above with flag -X then
I got the error:
I have tried what may be the course of the error by going to https://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException and also tried with the most of the fix suggested there (such as mvn install and mvn org.apache.maven.plugins:maven-compiler-plugin:compile. Sincerely speaking I don't know much about maven I just want sakai to work)
I have also searched youtube to see anything different from the installation guide that I followed, there seem to be only 2 videos for sakai and they followed guide closed to what I followed.
Try
mvn clean install -Dmaven.test.skip=true sakai:deploy -Dmaven.tomcat.home=/path/to/tomcat;
Replace /path/to/tomcat/ with the actual path to tomcat.
This works for me.
I've read a lot of troubleshooting for similar occurrences of this error, but what is causing it for this particular .jar?
https://download.cnet.com/android/nabin-bhandari/3260-20_4-10982661-1.html
It works on Windows, but when attempting to run the file on a raspbian (linux) system running java version 1.8.0_65 with the command java -jar Local\ Area\ Messenger\ Desktop.jar it throws the error about not being able to find or load the main class.
The MANIFEST.MF defines Main-Class: com.nabinbhandari.lam.Main and there doesn't appear to be any issues with case sensitivity.
What am I missing? Do I need to install something more than Java Runtime Environment?
Edit: In case it is not clear, I am not the developer of this file. I am simply a user trying to run the file. This question has nothing to do with Eclipse and I don't understand why people are linking to that other question. I am not running Eclipse. Please stop linking to that. Please examination the .jar file I have provided.
Edit 2: I have followed the instructions and in this answer:
https://stackoverflow.com/a/1238173/2407742
It gives the error no main manifest attribute, in test.jar
Is there something missing from my java runtime environment? It seems like nothing works.
The Local Area Network Messenger application was developed using JavaFX, which is not included in the Oracle Java build for Rasperry Pi. I had to reinstall Java and then openjfx by doing the following:
sudo apt-get purge openjdk-8-jre-headless
sudo apt-get install openjdk-8-jre-headless
sudo apt-get install openjdk-8-jre
sudo apt-get install openjfx
It runs fine now.
The solution to this was the following:
Close Eclipse/STS
Use a file explorer on your operating system to navigate to your workspace (In my case, I'm on Windows so I used Windows Explorer)
Delete the .metadata directory (or to be safe, copy the directory somewhere else to be safe, then delete it)
Restart Eclipse/STS
Is there a more improved answer than this? I don't want to look like I'm trying to boost my own reputation points, so if someone can provide a better answer then please do so.
I am new to Linux.I dont know how to install Netbeans IDE in LInuxmint.
Please write your answers in steps.
Go to NetBeans website and download install script. Web app will determine what you are running, you need to pick which bundle you want. When you finish download do
$ chmod a+x jdk-8uXY-nb-8_0_2-linux-x64.sh
and execute it. It will install everything for you. XY is current version of JDK.
Follow these steps in terminal,first install jdk and then install these things
1)chmod +x ~/Downloads/jdk-8-nb-8-linux-*.sh
2)cd ~/Downloads && ./netbeans-8.0.2-linux.sh
I'm new to Java and Eclipse and I'm not sure what this error message means:
*An error occurred while installing the items session context was:
(profile=epp.package.java,
phase=org.eclipse.equinox.internal.p2.engine.phases.Install,
operand=null --> [R]com.sap.ide.support.feature_root.gtk.linux.x86_64
1.11.1, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).
The action chmod failed - file
/opt/eclipse/collectSupportInformation.sh does not exist*
This happened while I was trying to install a ui tool. I've used Help->Install New Software before and it worked just fine then but now I'm getting this error no matter what I'm trying to install (I tried several different tools). What am I supposed to do?
I'm using Eclipse Luna on Ubuntu 14.04
I was having this issue on my mac. I got it working by moving the Eclipse app to the Applications folder (I was running it from Downloads).
Try the below steps:-
1) Restart your eclipse by using clean flag -> ./eclipse -clean
2) Turn off usage data collection by going to preference->usage data collection-> turn off
3) make sure the user who is running eclipse having read write permission to dir /opt/eclipse, or just execute the command chmod -R 777 /opt/eclipse (Once problem is resolved you can again change the proper mode, 777 is just for trying to fix the issue).
Hope it will help you to resolve the issue.Please update if you facing any issue to follow the above steps.
I've got something similar but under Windows 8.1 and the fix was to close the Eclipse IDE and then "Run as Administrator", then run the updates!
Try downloading full package through eclipse.org direct link instead of through Installer.
I had the same problem when I was "opening with Archiver" instead of saving first to disk. If first I save the tar.gz to disk, then untar it and run the eclipse-inst, all is fine
I have installed Eclipse 4.3 Juno. My environment is split into two separate workspaces. One is for Java and one for c/c++.
When I run the eclipse for C I can work with it and compile my projects.
eclipse -data d:\src\c -vmargs -Xmx512M
Now when I run the environment for Java development I suddenly get this error:
error 'g++/gcc' not found in path
The two workspaces are completely separated with their own .metadata directories.
I tried various hints that I found here and via google, like resetting the preferences, but nothing helped. Since I can work with my C environment it should be proof enough that the compiler exists. :) It is also in the PATH variable, so when I use g++/gcc on the windows commandproampt I get access denied (because it's cygwin).
So How can I get rid of this annoying error when I run my eclipse only for Java. I don't even need CDT there, but the plugins are probably installed in eclipse and not in the workspace. So this has to be some path setting or so, which I changed for the C but not for the Java environment.
So finally I found a solution. I got the hint from here Configure Eclipse CDT to use g++
The important bit was the comment that g++ is a symbolic link. Everything was set up ok, but when I executed g++ or gcc from the windows command prompt, I got the error "Access denied" while it worked from within cygwin.
After reading the bit about it being a symbolic link, it was clear what the problam was, because Windows can not cope with it. So what I did now, I reversed the symbolic links such that gcc and g++ is the real exe and the links of g++-3 and so on are pointing now to the exe, instead of the other way around.
I had to restart eclipse using the -clean option, then restarted it normaly and the error is history. :D
You should install the build-essential
sudo apt-get install build-essential
after installing this, open a terminal, and type g++ (hit enter) if it says there is no input, then you got your g++
I mean, eclipse is good but problems like this are persistent I find.
Try giving NetBeans a look in.