Where can I get a compiler?

Where can I get a compiler that I can use that is like sun's but doesnt use an IDE?

This may duplicate some of what you've already done, if so fine. But please verify you've done exactly what is written or know why you shouldn't before proceeding. You may want to print these instructions before continuing.
To download the current version of Java, go here:
http://java.sun.com/j2se/1.4.1/download.html
and click on the word DOWNLOAD in the column labeled SDK in this line:
Windows (all languages, including English)
After downloading, click on this page of installation instructions and read through #6:
http://java.sun.com/j2se/1.4.1/install-windows.html
NOTE: If you are installing on other than a standard 32-bit Windows system, go to this page
http://java.sun.com/j2se/1.4.1/install.html and choose the installation instructions for your system.
Install the software according to the preceeding instructions
Below is a Helloworld program, copy and paste it into your editor and save it as "HelloWorld.java" Use capitalization, Java is case-sensitive. If you're using Notepad, quote the name when saving, otherwise Notepad adds ".txt" to the name. Go to DOS/command window and check that you've got the file where you want it and that it's named correctly.
-------program HelloWorld.java--------
public class HelloWorld {
public static void main (String[] args) {
System.out.println("Hello World!");
In the same directory as HelloWorld.java, enter "javac" - the program should print out a list of options, if not, set your PATH - see below.
In the same directory as HelloWorld.java, enter "javac HelloWorld.java" and the javac compiler will create HelloWorld.class. If it was successful it will not give any messages. Check that the file is created.
In the same directory as HelloWorld.java, enter "java -classpath . HelloWorld" with the spaces and the period. The program will run.
Here is additional information:
The Windows path is a set of pointers that Windows uses to locate programs that you execute, like javac.exe and java.exe. This setting is explained here:
http://java.sun.com/j2se/1.4.1/install-windows.html
Scroll down to: 5. Update the PATH variable
(you should have already done this as part of the Java installation)
The CLASSPATH is another set of pointers that is used by Java to find the files that you create and want compiled and/or run. This setting is explained here:
Setting the Classpath:
http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/classpath.html
[NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
How Classes are Found:
http://java.sun.com/j2se/1.4.1/docs/tooldocs/findingclasses.html
Examples:
This is my path
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.1\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
This is my classpath
CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.1\lib\tools.jar;C:\NetRexx\NrxRedBk

Similar Messages

  • Where can I get a C compiler for Solaris  10 (sparc)?

    Where can I get a C compiler for Solaris 10 (sparc)?

    Have you tried gcc ?Ok. What kind of GCC compiler for Solaris 10( sparc) can you suggest me?
    The gcc-3.3.2 was compiled on Solaris 9, but i am using it on Solaris 10, that is why(it is my assumption) i have some problems with compilation library files( for example, sys/kstat.h)

  • I need a new power management board for MacBook Pro.   The AC 7000 chip is blown from power serge.  Where can I get one in Fiji?

    Where can I get my power management board repaired ...replace the AC7000 chip ( that now has a little hole in it from a power serge ) or replaced in Fiji?

    Actually, this is how I do my projects   . . .  I pull together all the assets  (video clips, stills, graphics) and tag them in a database.  Then, I can pull them into various segments.   I learned the ctrl+m five years ago when it was suggested on the old forum by some guy named named Steve Grisetti.
    Example  - - -  I've done multiple soccer videos.  There are maybe 16 players on a team...  each is a tag.   There are great headers  . . . that's  a tag . . . don't forget awesome defensive plays  . . .  tag.   A tag for screwups / funny.    A tag for regular season play, a tag for post-season playoffs, etc.   
    This allows you to build it as you go.   So, as you start to compile a season end video, it's relatively simple to pull content.    Oops, you review the segments and see that one kid's hardly included... select the tag with their name and you can pull in a few more clips.   If you're documenting a season, you can see how the database is coming along and determine you need more footage of certain situations and then adjust the shooting priorities at the next couple games, etc.
    As you build the collection, possible themes come...  perhaps a song or two that might add an element or tie things together.
    SO...  goal is to assemble a collection of decent and tight clips  (leaving room for handles on each).  Tossing out all the superferlous stuff.    In shooting a 90 minute soccer game, there can be times when I end up with only  ten minutes of visually interesting stuff.
    I'm also compiling content to be used in a video for a cool company here in Seattle.   Different thing altogether, but will take a similar apporach (fewer digital assets, however).
    I don't usually take assets from one project and put onto another  . . .  especially when doing youth sports, this could create issues.

  • Where can i get jdk 1.5 javadoc in Chm format?

    Where can i get jdk 1.5 javadoc in Chm format?

    no idea. don't think Sun distribute it like that, you could always compile it yourself, chm is compiled html, it's pretty straightforward to do, and I'm fairly sure there are free/downloadable HTML compilers available
    google is your friend

  • Where can I get Workshop:

    Hi,
    I use change management software, and I used Workshop Compilers 98/12/15 C 5.0 to complie an extension to this CM software.
    After a recent upgrade, teh software vendor will only support issues when the extensions have been compiled with Sun WorkShop 6 update 2 C 5.3 2001/05/15.
    Now the latest Studio 11 has C Compiler 5.8, and after discussions with the vendor they have informed me that they have not tested with the latest compiler, and therefore cannot offer real support.
    Where Can I get Sun WorkShop 6 update 2 C 5.3 2001/05/15. from? please?
    I need to upgrade to this from the old 5.0 because when the extension is compiled with this, there is structure alignment problems which causes the extension to behave incorrectly.
    again, Where Can I get Sun WorkShop 6 update 2 C 5.3 2001/05/15. from? please?
    regards
    S

    WorkShop 5.0 has been obsolete for years, and is no longer supported.
    WorkShop 6 update 2 is essentially End Of Life, meaning it will soon not be possible to buy it, and only limited support is available for it. (The product was released 5 years ago. In addition, it is not supported on Solaris 10, the current Solaris release. It's time to let go of this obsolete product as well.
    Since Sun Studio 11 is free, you should strongly encourage the software vendor to support it. I would expect the existing software to compile and run without problems using Studio 11. You do need to be running Solaris 8 or later, however.
    I asked someone else to respond to the question of buying a copy of WS6u2, assuming you really need it.

  • Where can I get sc5.1

    I need Sun C++ 5.1 compiler. Orbix 2000 needes this compiler. I am running Son OS 5.6. Does the 5.1 compiler come with the OS?
    Does it come with visual workshop? If it does then which version of the visual wprkshop does it comwe with?
    I would also need a specific patch of the 5.1 complier. From where can I get the patches and how do I find out which patch the complier is cuurently using?
    Thanks in advance,
    regards,
    Venkat

    no idea. don't think Sun distribute it like that, you could always compile it yourself, chm is compiled html, it's pretty straightforward to do, and I'm fairly sure there are free/downloadable HTML compilers available
    google is your friend

  • Missing oracle.jdeveloper.layout.* import. where can i get it?

    hi all.
    i'm very new to java, so i m sorry for the newbie question...
    well, i have overtaken an unfinished project. but this one needs the import
    oracle.jdeveloper.layout.*;
    which i do not have. where can i get it and how can i import it correctly? thank you.
    gr33tz
    j0sh

    thank you. i m working with eclipse, the project was built in oracle 9i JDeveloper.
    will the app be able to run on pc's too, that do not have these imports? i think it's sort of compiled before i release it as applet or a program? damn i'm a newbie...
    but where do i have to copy the stuff to, when i wanna use it in eclipse?? i don't really know which file i need, but i will find it somewhere i think on my pc in the jdeveloper's folder. but how can i reach it from eclipse?

  • Where can I get Jaws.jar from Sun?

    Where can I get Jaws.jar from Sun?
    thank you.
    while I use seach in download I do not find it.

    // new class for jsObject!!!! since 1.4.2 compile this:
    // javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
    // since jaws.jar does not exsist anymore
    // to compile with jaws: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" test.java
    http://www.tek-tips.com/faqs.cfm?fid=5101

  • Where can I get Pro C

    Where can I get pro c/c++
    I am using Oracle 8i
    null

    You should be able to get Pro*C from the 8i bundle since it is part of the standard release.
    Pro*C versioning should map to the database version numbers so 8i for th database is also 8i for Pro*C.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Detlev Moerk ([email protected]):
    Hi,
    Pro*C is only a precompiler, it is shipped with the original 8i cd. You need a C/C++ Compiler on your machine to write c programs that connect to the DB.
    You need a specific Makefile to run Pro*C before you compile your code.
    HTH
    Detlev<HR></BLOCKQUOTE>
    null

  • Where can I get the itab of generated sap query?

    Hi all,
    I generated a sap query which can display list of table in SAP ALV.
    Now I need to get the itab from the generated codes to perform some custom coding like sending the display list in email body message.
    Where can I get the itab now? From the SAP Query program I noted:
    data: begin of %g00 occurs 100,
                P0000-PERNR like P0000-PERNR,
                P0002-VORNA like P0002-VORNA,
                P0002-NACHN like P0002-NACHN,
                P0019-MNDAT like P0019-MNDAT,
                P0019-BVMRK like P0019-BVMRK,
                TEXT_P0019_BVMRK like TEXT_P0019_BVMRK,
                P0019-TERMN like P0019-TERMN,
                P0019-TMART like P0019-TMART,
                TEXT_P0019_TMART like TEXT_P0019_TMART,
                SYHR_A_P0019_AF_TEXT1 like SYHR_A_P0019_AF_TEXT1,
                SYHR_A_P0019_AF_TEXT2 like SYHR_A_P0019_AF_TEXT2,
                SYHR_A_P0019_AF_TEXT3 like SYHR_A_P0019_AF_TEXT3,
                P0019-UNAME like P0019-UNAME,
                %alvcount type i,
          end of %g00.
    data: begin of %%g00,
                P0000-PERNR(008),
                P0002-VORNA(030),
                P0002-NACHN(030),
                P0019-MNDAT(010),
                P0019-BVMRK(001),
                TEXT_P0019_BVMRK(040),
                P0019-TERMN(010),
                P0019-TMART(002),
                TEXT_P0019_TMART(081),
                SYHR_A_P0019_AF_TEXT1(072),
                SYHR_A_P0019_AF_TEXT2(072),
                SYHR_A_P0019_AF_TEXT3(072),
                P0019-UNAME(012),
          end of %%g00.
    I tried to declare DATA lt_g00 TYPE TABLE OF %g00 in infoset (END-OF-SELECTION After list output) but it cannot compile. It gives out the error message: Type "%G00" is unknown
    Anyone have any idea?

    Hi, colleagues!
    If someone's facing the same problem - it seems to be that the only solution is to use something like this:
    FIELD-SYMBOLS: <fs_alv_copy> TYPE ANY TABLE.
    ASSIGN ('(NAME_OF_YOUR_GENERATED_REPORT)%G00[]')
    TO <fs_alv_copy>.
    and then work with field symbol.

  • Where can i get j2sdk

    where can i get the j2sdk for the linux platform. i already downloaded the file named j2sdksolaris...tar.Z. is that the correct file or ... then... how can i install and work under linux. plz provide appropriate commands for installation and compilation....
    thankyou,
    senthil

    http://java.sun.com/j2se/1.4.2/download.html
    I assume the Installation Instruction are just that.

  • Where can i get infor about system.property

    hi there
    where can i get infor about the key words to find system property.

    If you mean the properties returned by System.getProperties(), then the API lists the keys. Here's the 1.4 list:
    java.version                        Java Runtime Environment version
    java.vendor                         Java Runtime Environment vendor
    java.vendor.url                     Java vendor URL
    java.home                           Java installation directory
    java.vm.specification.version       Java Virtual Machine specification version
    java.vm.specification.vendor        Java Virtual Machine specification vendor
    java.vm.specification.name          Java Virtual Machine specification name
    java.vm.version                     Java Virtual Machine implementation version
    java.vm.vendor                      Java Virtual Machine implementation vendor
    java.vm.name                        Java Virtual Machine implementation name
    java.specification.version          Java Runtime Environment specification version
    java.specification.vendor           Java Runtime Environment specification vendor
    java.specification.name             Java Runtime Environment specification name
    java.class.version                  Java class format version number
    java.class.path                     Java class path
    java.library.path                   List of paths to search when loading libraries
    java.io.tmpdir                      Default temp file path
    java.compiler                       Name of JIT compiler to use
    java.ext.dirs                       Path of extension directory or directories
    os.name                             Operating system name
    os.arch                             Operating system architecture
    os.version                          Operating system version
    file.separator                      File separator ("/" on UNIX)
    path.separator                      Path separator (":" on UNIX)
    line.separator                      Line separator ("\n" on UNIX)
    user.name                           User's account name
    user.home                           User's home directory
    user.dir                            User's current working directory

  • HT201318 i've paid for my icloud storage but now need a vat receipt, where can i get one?

    i've paid for my icloud storage but now need a vat receipt, where can i get one?

    Usually Apple sends an invoice to your mail 1-2 days after your purchase.
    You may even search the invoice yourself, but I'm not sure if you will find it before 1-2 days.
    More info here  https://discussions.apple.com/message/12360444#12360444

  • Where can I get a new hard drive for my intel imac?  **** thing dumped, less than 3 years old.

    This is my first mac and the **** hard drive crashed in only 2+ years and of course the waranty is expired.  Can I replace the hard drive with any 3.5" replacement or do I need something special.  And if I do where can I get it?  I didn't see anything specifically for an intel imac at apple store.  I don't want to pay apple to install it, already spent enough money on this disappointing purchase.

    any 3.5" Sata drive will do.  I recommend http://www.macsales.com/, or http://www.newegg.com/

  • PI 7.11 - Where can I get the NEW java API's

    Hi,
    We use PI 7.0 in productive environment, but we plan a release update to PI 7.11. We have several Java Mappings for PI 7.0 with Java 1.4. So we have to upgrade this also to Java 1.5.
    We are using following SAP Java libs:
    - aii_map_api.jar
    - aii_mt_rt.jar
    - guidgenerator.jar
    - sapxmltoolkit.jar
    Where can we get the equivalent libraries of the PI 7.11 system. Are there new API's? Is there a documentation where to get this?
    Thx in advance
    Michael

    Thx !!!
    Quick answer )

Maybe you are looking for

  • What format do I use to post on youtube so that IPhone and Androids can play it?

    adobe premiere pro cs6: What format do I use to post on youtube so that IPhone and Androids can play it? how do I fix it so it will play I tryed h.264 youtube hd 720, h.264 andriod phone here is the youtube video play's fine on pc but will not play o

  • Managed Metadata appearing in wrong columns after Restoring a site to a new Site Collection

    I've restored a site with some libraries that have Managed Metadata (MM) columns from one site collection into another site collection inside the same web app so it should all subscribe to the same Managed Metadata Service Application. There are two

  • Very slow download for movie rental

    Last nite (Valentine's!) my honey and I decided to watch our first movie with AppleTV. We chose the HD version of Ratatouille. I expected it to be about 10-20 minutes before we could start watching the movie (as the rest of it would download while we

  • Aperture 3.3 can't import iPhoto 8.1.2 library?

    I'm on iPhoto '09 (8.1.2) and want to upgrade to Aperture.  Aperture 3.3 seems to be missing the ability to import older iPhoto libraries which it looks like it used to be able to do in previous versions.  Is there some way for me to migrate to Apert

  • Canon i9900 - need printing options

    I know that one of the new features for leopard is "simplified printing." I have a 13x19 canon i9900 printer where i print out a lot of my design work. One of the most useful "can't live without" features is the ability to change color options throug