Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » EXE
EXE [message #124866] Mon, 19 December 2005 20:45 Go to next message
Eclipse UserFriend
Originally posted by: scott.inforesolution.com

Can you build an exe like in visual studio? I am a student and just got
out of C# and went into java and the class didnt come with a compiler and
i found eclipse. I am tring to run a program out side of the compiler can
i put it into an exe???
Re: EXE [message #124879 is a reply to message #124866] Mon, 19 December 2005 21:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hal.thresholddigital.com

Scott wrote:

> Can you build an exe like in visual studio? I am a student and just got
> out of C# and went into java and the class didnt come with a compiler and
> i found eclipse. I am tring to run a program out side of the compiler can
> i put it into an exe???

Do you mean you are trying to run a Java program (presumably on Windows,
since you talk about a .exe file) without using the Java runtime? In other
words, are you trying to compile a Java program into an executable file all
by itself?

I'm not clear what you mean by "run a program out side of the compiler". Do
you mean run the program on it's own, through Java, run it without Java, or
just be able to run it without Eclipse?

There are programs to do that, but I don't think Eclipse has anywhere near
that ability (but I could be wrong, I'm new to the Eclipse scene).

Hal
Re: EXE [message #125043 is a reply to message #124866] Tue, 20 December 2005 16:06 Go to previous message
Michael Olan is currently offline Michael OlanFriend
Messages: 20
Registered: July 2009
Junior Member
Scott wrote:
> Can you build an exe like in visual studio? I am a student and just got
> out of C# and went into java and the class didnt come with a compiler
> and i found eclipse. I am tring to run a program out side of the
> compiler can i put it into an exe???
>

Scott,

The standard ways to run a java program outside an IDE depend on

1) Is is a console app? If so, enter a command like this at the command
line:

java ClassName

(There should be a compiled class called ClassName.class which results
from compiling ClassName.java)

2) Is it a GUI app? If so, you can also do the above, but more common is
to make a jar file that can be launched just like an exe, but actually
runs in the JVM.

Hope this helps,
Michael
Previous Topic:Reported Errors -- Why Are These Here?
Next Topic:jydt problem
Goto Forum:
  


Current Time: Thu Jul 18 04:40:22 GMT 2024

Powered by FUDForum. Page generated in 0.08256 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top