Red Hat / Fedora :: Difference Between Redhat And Ubuntu Javac Compiler?
Jul 13, 2010Please tell me the difference between Redhat linux javac compiler and the ubuntu javac compiler.
View 1 RepliesPlease tell me the difference between Redhat linux javac compiler and the ubuntu javac compiler.
View 1 RepliesAFAIK Fedora comes from Red Hat (as well as CentOS).Ok, CentOS is intended to be the long life stable enterprise OS.
But what is the diff between Fedora and "normal" Red Hat Linux?
Is there maybe a fourth Linux of Red Hat?
I want to know what are the difference between redhat, slackware, ubuntu and others distributions.
View 1 Replies View RelatedI would like to know the difference between redhat enterprise linux 5.4 and redhat linux 9.0. Also, if redhat linux 9.0 could be used as a server os.
View 2 Replies View RelatedIt seems that NIS/NIS+ and Redhat Dir Server/CentOS Dir Server have similar functions.
What are important differences between them?
So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?
I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.
sh:javac: file not found .I want to try to run java on linux but am having problems. I downloaded the Scite text editor and the java jdk (self installer) from java.com. Created the simple helloworld program in the text editor and used ctrl + f7 to try to comiple it but just get the message sh: javac: file not found. After numerous attempts decided to try to uninstall java and start from scratch again. So I downloaded the jdk self installer again and typed in (sudo apt-get install sun-java6-plugin) but now get this:
dbd@dbd-laptop:~$ sudo apt-get install sun-java6-plugin
[sudo] password for dbd:
Reading package lists... Done
[code]....
Am I using the right test editor? Are there any tutorials I can follow for using java on linux?
how can I install javac. I'm new with linux so please be specific in what to do. I found one post saying something about adding extra repositories but I don't know what repositories, where to add them, how to add them..
View 9 Replies View RelatedI installed Netbeans 6.9.1 with JDK bundle, I have installed jdk in /usr/local/jdk1.6.0_2 but when I try to start Netbeans I get error
Quote:
which: no javac in (/usr/local/jdk1.6.0_2/bin:/usr/local/jdk1.6.0_2:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
which: no java in (/usr/local/jdk1.6.0_2/bin:/usr/local/jdk1.6.0_2:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
Cannot find java. Please use the --jdkhome switch.
I have javac in /usr/local/jdk1.6.0_2/bin, I looked. I installed last time and it have worked fine. What is wrong now ?
I have installed jdk1.6_0_0 to kubuntu 8.10. But javac command doesn't work yet.
How do I set path?
Here are the outputs i got from typign some commands
I thought that setting up the PATH variable was a must if we wanted to use java or javac commands on linux (preferably in the bashrc file), but I am able to use these commands anywhere without setting up the PATH variable.. Similarly, without specifying . in the CLASSPATH variable (in fact, not specifying the CLASSPATH variable at all), I am able to access class files in the same directory. How is it possible ?
View 1 Replies View Relateddo this slackbuild require the JDK package?
I've got a compile error which says that 'javac' is missing.. this file seems to be only in the JDK package (and not in the JRE).
Do it's correct? No problem to install the JDK ..
i just grabed a book and wrote a program and tried to compile it using 'javac' and everytime i'm getting this error:
javac Example.java
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
[Code]....
I thought that setting up the PATH variable was a must if we wanted to use java or javac commands on linux (preferably in the bashrc file), but I am able to use these commands anywhere without setting up the PATH variable.. Similarly, without specifying '.' in the CLASSPATH variable (in fact, not specifying the CLASSPATH variable at all), I am able to access class files in the same directory. How is it possible ?
View 4 Replies View Relatedwhere I can download the GNU compilers. I installed Fedora 11 today dual botted with 64-bit Vista on an HP 64-bit computer. I found a little short description on gnu.org, but no links to download sites. Since I don't have a compiler installed already I will need to install the binarys instead of the source code.
View 7 Replies View RelatedHow can i get g++ compiler in ferdora 14. i cant compile any program in frdora 14.
View 3 Replies View RelatedIm using Fedora 10, and I need to install a c, and c++ compiler. I've downloaded codeblocks, but when i try to compile and run the code, nothing will happen. What other compiler should i use? what is the best c++ compiiler for fedora?
View 5 Replies View RelatedI have recently installed Fedora 11 and I am having some trouble with it. While installing another program I get the message: make: g77: Command not found
I tied to look for the compiler to install using yum search g77
And got the following list:
I was wondering if it is in some obscure repository, which would seem odd to me. I have the following repositories available (as shown in yumex) :
I am in the process of building some packages with the Intel compiler (icc) and was wondering how to make it the default compiler when using rpmbuild.
View 3 Replies View Relatedi just installed fedora 14 and which gcc shows that there is no C++ compiler . How can i download G++ 4.5 version without download the entire development tools. Last time i tried yum groupinstall "Development Tools" and that took ages with no result.. I just want to install C++ ..
View 2 Replies View Relatedi just installed fedora and i want to install a couple programs but i keep getting the same message saying that no acceptable c compiler was found, so i downlpoaded the gcc packlage, extracted it, navigated to it in the terminal, and ran ./configure but it tells me that there was no acceptable c compiler found, whats going on here, i need an acceptable c compiler to install a c compiler this is real confusing
View 14 Replies View RelatedI installed Fedora on my machine. I'm very new at Linux but would like to start coding in C++. I would like to know the steps to write and compile a Hello World program using C++ in Linux. (I've been a Microsoft person all my life).
View 4 Replies View RelatedI am running a version of Fedora 10 on my PC for development puposes. The strange problem I have encountered is that I cannot locate the C compiler being used. I have looked for G++ GCC, etc but cannot find it. Does anyone know the compiler being used or the command to find it through command line.
View 5 Replies View RelatedI managed to figure out how to issue out the CC compiler command by issuing a symalink to the usr/bin I have now have this problem when I try to compile any C++ code I recieve this error
"/usr/include/stdio.h", line 485: Error: "(" expected instead of "__attribute__".
I went on the sun forums and they dont or give a solution due to Fedora not being test when developing this tool, so I was wonder if I could run into someone who has a solution to this problem
This is my last road block so I can fully finish my programming assignment
I am trying to compile wine from source.
When I run:
Code:
I get this output:
Code:
I need gcc and g++ installed; I installed both of these through yum.
I have looked through config.log, however I do not know what to look for in there for something that might be the problem.
So apparently the GNU c++ compiler did not install when I did:
# yum install gcc
And now it's failing to install the C++ compiler when I do:
# yum install gcc-c++
It's saying it's running out of mirrors to check or something? Does anyone know what else I can do to install it?
I am trying to build a gcc 4.4.3 cross-compiler. I downloaded the gcc 4.4.3 release, uncompressed it, made a new directory called gccbuild and cd'd there. I have already installed gmp, mpfr, and mpc in /usr/local. These are the commands I used:
Code:
configure --target=arm-linux --enable-languages=c --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
make
However, the build fails with
Code:
checking for arm-linux-gcc... /home/steven/gccbuild/./gcc/xgcc -B/home/steven/gccbuild/./gcc/ -B/usr/local/arm-linux/bin/ -B/usr/local/arm-linux/lib/ -isystem /usr/local/arm-linux/include -isystem /usr/local/arm-linux/sys-include
checking for suffix of object files... configure: error: in `/home/steven/gccbuild/arm-linux/libgcc':
configure: error: cannot compute suffix of object files: cannot compile .....
for some reason I don't know how to install *.tar.gz files, I ommitted some of my files listed in the code after the ls command for simplicity
[Code]....
i have installed packets for running G++ command but when i compiled the .cpp file it was showing iostream.h file not found then i remove .h extentions from #include <iostream.h> and all other include headers as well in cpp source file then this iostream.h not found option gone but still some files are missing and my program is not running
View 1 Replies View RelatedWhile installing the gcc cross compiler in fedora using the following commands
# cd /etc/yum.repos.d/
# wget [URL]
# yum install armv5tel-redhat-linux-gnueabi-gcc
I got a error:
# cd yum.repos.d
[root@sparc yum.repos.d]# wget [URL]
Resolving fedora-arm.wantstofly.org... failed: Temporary failure in name resolution.
[root@sparc yum.repos.d]#