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

  • SEARCH
  • Home
  • 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 8247273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:47:21+00:00 2026-06-07T22:47:21+00:00

My problem: I have JDK 1.7 version on my machine. The jar I created

  • 0

My problem: I have JDK 1.7 version on my machine. The jar I created with this does not run on my Unix machine as it has JRE 1.4 installed (I don’t have admin rights to this machine).

So, is there a way to compile my code with version 1.4 w/o uninstalling 1.7 on my machine. Can it be done online?

  • 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-06-07T22:47:23+00:00Added an answer on June 7, 2026 at 10:47 pm

    You may use -target version option to perform cross-compilation.

    Example as per javadoc

    % javac -target 1.4 -bootclasspath jdk1.4.2/lib/classes.zip \
                 -extdirs “” OldCode.java

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

Sidebar

Related Questions

Apparently the J3D API is NOT included in my version of JDK. I have
On my development machine, I have JDK 1.7 installed, but we are packaging software
Env: Akka 2.1, scala version 2.10.M6, JDK 1.7,u5 Now is my problem: I have:
I've seen that a few instances of this problem have been raised already. However,
Problem: I have a string that looks like this: [1=>2,3,4][5=>6,7,8][9=>10,11,12][13=>14,15][16=>17,18] Question: How can you
Problem: I have a value in a database table. This value can either contain
E/ddms IllegalArgumentException 'Bad version' with both 32 and 64 bit Java JRE installed Hello.
I have a Java Runtime.getRuntime().exec() problem. I run my java app on Linux and
I have a .class file which is in jdk 1.1 version. When i tried
Tomcat Version :5.0.28 JDK: 1.5.0.14 The problem: I am using both hibernate and struts

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.