Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4083720
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:20:56+00:00 2026-05-20T18:20:56+00:00

I am trying to compile a software using javac. The problem is i removed

  • 0

I am trying to compile a software using javac. The problem is i removed open-jdk using yum remove and downloaded sun jdk and installed it in the /usr/java folder.

I don’t know how to figure out if the current jvm is openjdk running or sunjdk.

I removed the java and javac files from the /usr/bin folder and made the PATH variable contain the new path in /usr/java/jdk1.6-0/bin.

I still see the java file in bin folder everytime I restart the system.

Could some one help me with this?

Also if this is gonna be helpful, I am trying to compile a software and it gives the following warnings:

List is a raw type. References to
generic type List should be
parameterized

I think it is because of open-jdk. I’m not able to figure out how to completely remove open-jdk.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:20:57+00:00Added an answer on May 20, 2026 at 6:20 pm
    1. From the perspective of application behaviour, there should be no perceptible difference between OpenJDK and the equivalent Oracle JDK. The differences are down in the low levels of the JVM; e.g. performance improvements in the JIT compiler and the garbage collectors.

    2. If you need to tell which version you are actually running, use java -version, or (in a running application) look at the properties in the object System.getProperties(). (The javadoc explains what standard properties to expect.)

    3. The message about raw types is nothing to do with whether your system is OpenJDK or Oracle JDK. You will get similar warning messages with all Java 5 / 6 / 7 compilers … including compilers from IBM and other places.

      The actual problem is in the code that you are compiling. You can safely ignore the warning in the short term … or if the code has to remain compilable by /runnable on pre-Java 5 JVMs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to compile a list of installed software on a workstation. After some
I am trying to compile qt 4.7.4 using the angstrom tool chain installed at
When trying to compile GNU software on HP-UX (binutils for example) I'm getting error
I'm trying to compile/link a very old piece of software on a linux system
While trying to compile a 64 bit linux kernel using gcc, I see the
I'm just trying to compile the hello world example of boost.python WITHOUT using all
I'm trying to run R using Java. I have R installed on my Mac
I'm trying to compile some software I've been writing in Linux that uses some
I am trying to cross compile a version of my software for a 64bit
I'm trying to compile a simple 32-bit Hello World application written in C using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.