help regarding compiling
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: help regarding compiling

  1. #1
    Join Date
    Jun 2011
    Posts
    2

    help regarding compiling

    this may sound like a epicly stupid question but please bare with me that I am a newb and am still trying to figure this all out. one thing you will need to know about me is that im a usb person I like putting what i can on a usb, that being said figuring out my next question is likely to be a no brainer for the pros answering it wont be much harder (I hope). is it possible to fit both the java runtime environment and java developer kit (preferably the latest versions) on a usb and have them work on any (or most) computers without mucch hassle and have it compile/decompile dirrectly onto the usb. If possible

  2. #2
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,397

    Re: help regarding compiling

    For the most part, yes.
    I have several versions of java I've copied onto my Win XP system without installing them.
    I am able to compile and execute using any version by using command lines or batch files.
    I do it by having multiple partitions on my computer and by having a second bootable system.
    I boot to the test system, install a version, copy any files that ended up on the C drive to the D drive.
    When I go back to my main system, all the files are on the D drive. I can compile and execute the files using commands from the D drive.
    The problems with NOT installing a JRE or JDK is that the applet code requires Registry entries.
    Also I think the JavaDB also needs those entries. Not sure as I don't use it.

    If you build a good set of batch files you should be able to do what you want.
    A technique: I use environment variables in some of my batch files. If you can set the environment variables for a computer then the batch files can use them.
    Norm

  3. #3
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,397

    Re: help regarding compiling

    Norm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center