cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

JLink compile command

JohnMattson
1-Newbie

JLink compile command

I know this is pretty basic stuff, but I'm struggling to get off the
ground with JLink. In the docs when it talks about compiling the *.java
example programs, it shows the command 'javac *.java'. I don't seem to
have that command anywhere. I've loaded jre1.5.0_15 and I have a
c:\Program Files\Java\jre1.5.0_15\bin\ folder with a java.exe in it, but
not javac.exe. Can someone help me along?



Thanks, John

This electronic message including any attachments ("Message") may contain information that is privileged, confidential and/or exempt from disclosure under trade secret and other applicable law. If you are not the intended recipient, notify the sender immediately, permanently delete all copies of this Message, and be aware that examination, use, dissemination, duplication or disclosure of this Message is strictly prohibited.
4 REPLIES 4

You're on the track. You just need the Java Development Kit download (jdk1.5._xx) instead of the JRE (Java Runtime Environment).



Gary Hoffman





In Reply to:
I know this is pretty basic stuff, but I'm struggling to get off the
ground with JLink. In the docs when it talks about compiling the *.java
example programs, it shows the command 'javac *.java'. I don't seem to
have that command anywhere. I've loaded jre1.5.0_15 and I have a
c:\Program Files\Java\jre1.5.0_15\bin\ folder with a java.exe in it, but
not javac.exe. Can someone help me along?


Agreed that you should download the JDK (any version 1.4.2 or higher) or even better an IDE
like NetBeans or Eclipse.


However, if you just want to "make it work" and you have the Intralink client available,
you can use Intralink's Java to compile your J-Link apps.


Here are the instructions:

http://inversionconsulting.blogspot.com/2008/04/jlink-compile-proe-app-with-ilink.html



Marc
--
Marc Mettes
-
Visit My CAD/PDM AutomationBlog
Or, Subscribe to My CAD/PDM Automation Blog by Email





Thank You! I figured it was something easy like that.



John


John, You need the JDK or Java Development Kit. The JRE is the runtime
environment which is included in the JDK.

javac will compile the .java files to binary .class files that will be
run with the java command.

Best regards,

Carl


John Mattson wrote:
>
> I know this is pretty basic stuff, but I’m struggling to get off the
> ground with JLink. In the docs when it talks about compiling the
> *.java example programs, it shows the command ‘javac *.java’. I don’t
> seem to have that command anywhere. I’ve loaded jre1.5.0_15 and I have
> a c:\Program Files\Java\jre1.5.0_15\bin\ folder with a java.exe in it,
> but not javac.exe. Can someone help me along?
>
> Thanks, John
>
> This electronic message including any attachments ("Message") may
> contain information that is privileged, confidential and/or exempt
> from disclosure under trade secret and other applicable law. If you
> are not the intended recipient, notify the sender immediately,
> permanently delete all copies of this Message, and be aware that
> examination, use, dissemination, duplication or disclosure of this
> Message is strictly prohibited.

Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.