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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:25:39+00:00 2026-05-15T16:25:39+00:00

Does anybody know how to make a usb thumb drive with a JDK, Tomcat,

  • 0

Does anybody know how to make a usb thumb drive with a JDK, Tomcat, and Eclipse (J2EE) (all for a Windows platform, preferably)?

I saw this question, but the only answer was speculative.

I know that the eclipse part would be easy — just put it on the thumb drive. Tomcat requires a JDK as far as I know. Would there be a way to setup tomcat so it always references a jdk on the thumb drive (rather than using the system JAVA_HOME variable)? How about Eclipse?

I’m thinking something like cygwin would clearly be overkill…

  • 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-15T16:25:39+00:00Added an answer on May 15, 2026 at 4:25 pm

    tomcat is pretty easy.

    There is a standard batch file called setenv.bat in <tomcat-dir>/bin which is called by catalina.bat you could set this up to reference a relative path for the JDK.

    An example of doing this is the liferay tomcat distrabution, have a look at it’s setenv.bat file.

    liferay 6.0.1 setenv.bat checks for a JRE installed in the CATALINA_HOME directory:

    if exist "%CATALINA_HOME%/jre1.5.0_22/win" (
        if not "%JAVA_HOME%" == "" (
        set JAVA_HOME=
        )
    
        set "JRE_HOME=%CATALINA_HOME%/jre1.5.0_22/win"
    )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody know true cross-platform C++ library for simulating keyboard input? I'd make a
Does anybody know how to make a 'always-on-bottom'-windows, or a window pinned to the
does anybody know how to make EJBTimers persistent not in filesystem, but in selected
Does anybody know a way to make the axis fixed on a CPTXYGraph when
In Oracle, this returns 03/01/2010. That does not make sense to me. Anybody know
Does anybody know how to make a jqGrid resizable? I want that sweet little
http://jsbin.com/emoba5/3/edit click here to view demo Does anybody know how to make the image
Does anybody know how to get GNUstep-make to compile a bundle but make the
Does anybody know, how to make chart like this? I have not found any
Does anybody know how to turn line breaking in eclipse after you press CTRL

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.