Java Error in Installing javac for fedora 20 and java version 1.6

  • Thread starter Thread starter ankitdixit
  • Start date Start date
  • Tags Tags
    Error Java
AI Thread Summary
The discussion revolves around the installation of Java 6 on a Fedora 20 system, where the user initially had Java 7 installed. After removing Java 7, the user successfully installed Java 6 but encountered an issue with the missing Java compiler (javac). Attempts to install the development package for Java 6 using the command "yum install java-1.6.0-openjdk-devel" resulted in an error indicating that the package is not available. The conversation highlights concerns about the age of Fedora 20, suggesting that it may not have active repositories for older software versions, which could be contributing to the installation issues. The user seeks assistance in obtaining the javac compiler, emphasizing the need for the Java SDK rather than just the runtime environment.
ankitdixit
Messages
5
Reaction score
1
By default, I had Java 7 installed on my system(X64, Fedora 20).

I needed Java 6 for a software, hence had to remove 7

Java:
sudo yum remove *java*

And then, I installed Java 6.

This installs Java 6 successfully. but the java compiler, JavaC is missing. For that, I try -

Java:
su -c "yum install java-1.6.0-openjdk-devel"

Loaded plugins: langpacks, refresh-packagekit
No package java-1.6.0-openjdk-devel available.
Error: Nothing to do

I use this online compiler to run the java program. Could someone please help me with installing javac for java 1.6?
 
Technology news on Phys.org
Javac comes with the java sdk. Did you install the sdk or only the java runtime?
 
ankitdixit said:
Fedora 20
This is 14 releases back. Is that what you want? Is the repo still active?
 
Thread 'Star maps using Blender'
Blender just recently dropped a new version, 4.5(with 5.0 on the horizon), and within it was a new feature for which I immediately thought of a use for. The new feature was a .csv importer for Geometry nodes. Geometry nodes are a method of modelling that uses a node tree to create 3D models which offers more flexibility than straight modeling does. The .csv importer node allows you to bring in a .csv file and use the data in it to control aspects of your model. So for example, if you...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top