Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Java to Exe

  1. #11
    Join Date
    Feb 2007
    Posts
    1,108
    Rep Power
    0

    Default

    cheers...........thanks
    H E L T A - S K E L T A...........Simple but Effective
    Certified Wifi Penetration Specialist
    CompTIA A+ Certified

  2. #12
    Join Date
    Dec 2002
    Posts
    500
    Rep Power
    0

    Default

    you can always let visual studio convert it to visual J#, the code will still be 'JAVA', but it will compile to .NET. your clients will most likely have .net framework installed, and the java interop libraries for .NET, so they shouldn't have a problem running it like an '.exe'.

    to all the hardcore java people out there, im not converting him... just expanding on his options.

    ciao.
    Cultured in Aggression and Koding like a Warrior!!
    “Common sense is instinct. Enough of it is genius.” - George Bernard Shaw.
    "The significant problems we face cannot be solved by the same level of thinking that created them." - Albert Einstein

  3. #13
    Join Date
    Sep 2005
    Posts
    55
    Rep Power
    0

    Default

    Is VisualJ# still alive?

    "Microsoft is retiring the Visual J# product and Java Language Conversion Assistant tool to better allocate resources for other customer requirements. The J# language and JLCA tool will not be available in future versions of Visual Studio."

  4. #14
    Join Date
    Dec 2002
    Posts
    500
    Rep Power
    0

    Default

    well, java developers that want to switch to the good old evil called .NEt normally go the c# route, but visual J# is still alive (different from j++).

    j++ is microsoft mockery of java (... i think that died).
    visual j# is java being compiled to run on .NET framework, and can call up on all existing .class compiled file.

    so you get the best of both worlds, java interop and .NET
    Cultured in Aggression and Koding like a Warrior!!
    “Common sense is instinct. Enough of it is genius.” - George Bernard Shaw.
    "The significant problems we face cannot be solved by the same level of thinking that created them." - Albert Einstein

  5. #15
    Join Date
    Sep 2005
    Posts
    55
    Rep Power
    0

    Default

    Well, as the Java development continues and new versions are released, the conversion to old evil called .NET (I left out the 'good' on purpose) won't be possible anymore. And its highly questionable that you won't face some compatibility issues anyways.

    If I use Java to develop platform neutral, why on earth should I convert to .NET just for Windows? I can always deploy with a JRE included, if deployment is the issue (as seems to be for the original poster).

    Don't wanna start a flame war, actually, I prefer to go to bed - it's 1 am where I am right now.

    Take care!

  6. #16
    Join Date
    Dec 2002
    Posts
    500
    Rep Power
    0

    Default

    oh zeen, good post still, just exploration of the options... he goin surely make a better decision now that u said that.
    Cultured in Aggression and Koding like a Warrior!!
    “Common sense is instinct. Enough of it is genius.” - George Bernard Shaw.
    "The significant problems we face cannot be solved by the same level of thinking that created them." - Albert Einstein

  7. #17
    Join Date
    Feb 2007
    Posts
    1,108
    Rep Power
    0

    Default

    aite proppa...........thanks guys
    H E L T A - S K E L T A...........Simple but Effective
    Certified Wifi Penetration Specialist
    CompTIA A+ Certified

  8. #18
    Join Date
    Jan 2006
    Posts
    9
    Rep Power
    0

    Default

    If you are under windows u can use a ms batch file/script to run the jar file automatically,
    so click once like a executable and it runs the program,

  9. #19
    Join Date
    May 2004
    Posts
    168
    Rep Power
    0

    Default

    dephilio ... it would equate to the same thing. A jar file is an executable just like a batch script.
    ||| Knowledge is Power |||

  10. #20
    Join Date
    Nov 2005
    Posts
    2,575
    Rep Power
    21

    Default

    It took sometime to find a free solution to the original poster's question but I did so here it is launch4j. Please NB however that as I had original said all Java code requires a JVM to run and this is no different. This program creates a native exe, but during compilation you configure your converted app to either include an embedded JRE or search for one on the system its being installed to. Hope this helps with future development.

    Edit: Changelog has not been updated since 2006 so I don't know

Posting Permissions

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