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 8531023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:23:21+00:00 2026-06-11T09:23:21+00:00

In my scenario I have one jar file compiled with JDK6 through maven. This

  • 0

In my scenario I have one jar file compiled with JDK6 through maven.
This jar needs to be signed. So, I used the maven-jarsigner-plugin for doing this job, and it works fine!

However, my mission is to sign this jar pointing to JDK1.5. But the jar needs to be built using JDK6. So, my question is: can I build the jar using JDK6, but changing to JDK5 specificaly for signing it? Is it possible?

Thanks a lot!

Rodrigo

  • 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-11T09:23:22+00:00Added an answer on June 11, 2026 at 9:23 am

    The jarsigner options mention the -Jjavaoption which may be used to pass options to the java interpreter. If you run java -h as mentioned, one of these options is -version:<value>.

    It looks like the jarsigner:sign goal has an element for passing additional args to the command line. So I’d try adding

    <arguments>-Jversion:1.5.0</arguments>
    

    or something like that. (Maybe someone else can help with the specific format for that option, I’ve never had to do this.)

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

Sidebar

Related Questions

This is the scenario: I have one image background set on an activity. On
Let's say I have two ear file and one .jar file with an EJB
Scenario: I have one JFrame and JPanel added to that JFrame . on this
So this is the scenario: You have a bunch of data that needs to
I have one question regarding trigger. The scenario is like this Create Procedure begin
I have a maven POM file for a web service. For one of the
I have one scenario here, and maybe someone could enlighten me at this corner
Scenario: Each order can only have one import file . So I created a
My scenario: I have one color background image JPG. I have one black text
I have one scenario where I need to select all files having aliencoders.numeric-digits like

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.