Results 1 to 6 of 6

Thread: What is default target for javac in JDK 1.4

  1. #1
    Join Date
    Jul 2010
    Posts
    68

    What is default target for javac in JDK 1.4

    To run the Java code, I have a JRE. JRE starts available to the program core libraries , a virtual machine Java ( JVM, for "Java Virtual Machine ") dependent platform extensions for browsers ( Mozilla) , etc. . A JDK ( Java Development Kit , or SDK for Java) Coupled with programming tools such as a compiler and a debugger. Can anybody know the default target for javac in JDK 1.4. Please answer.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: What is default target for javac in JDK 1.4

    If you develop with java 1.5 , you will have code that will run on jvm 1.5 and higher. You can give instructions to the compiler to make . class 1.4 compatible , 1.3 even 1.2 I think . For cons , the big problem is that the API is not the same. Have code that can run on midlet 1.4 but that depends on classes or methods occurred in 1.5 will not help -> will have to choose your classes . In addition, the computer refuse to compile the old version if you used the new jvm options ( such as a code with Generics can never be compiled as a target jvm 1.4).

  3. #3
    Join Date
    May 2008
    Posts
    2,297

    Re: What is default target for javac in JDK 1.4

    You need to select your Environment ( Windows, Linux ,...)
    -( Read then ) Accept the license SUN ticking the ' I agree to the Java SE Development Kit 6 License Agreement ".
    -Click ' Continue '
    You arrive on the download page. Here is a download for Windows target . The download file is the file jdk - 6u13 -windows - i586 - p.exe.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: What is default target for javac in JDK 1.4

    When installing a runtime environment independent of the JDK , the wizard will consult. Accept the defaults and click Next. So even if you subsequently delete the installation directory of the JDK ( which also contains a JRE) , you can still run Java programs on your computer. You arrive at the final installation screen , which tells you that the installation went smoothly , and offers to register your JDK .

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    Re: What is default target for javac in JDK 1.4

    Installs a true JRE 1.4 or better a JDK 1.4 ( eclipse integrate sources to enable the ctrl + click ). In the preferences of eclipse, " Java - > Installed JRES "adds a new " Standard VM " specifying the install directory of your JRE / JDK 1.4. In the ownership of your project , modify the "build- path " by removing the library of Java 5, then add a new JRE taking your JRE 1.4.

  6. #6
    Join Date
    Nov 2005
    Posts
    1,323

    Re: What is default target for javac in JDK 1.4

    The other options (' Add Java projects to Tomcat classpath ', 'Do not run Tomcat in debug mode , and those in window preferences , the JVM Settings ' do not need to be changed to a conventional ). Their descriptions are in 'Advanced settings'. In the ' Add project classpath to Tomcat Java' does not tick the boxes to projects Tomcat . This list adds the classpath of Tomcat Java projects containing classes called projects from Tomcat.

Similar Threads

  1. How to get the target file name from an URL
    By FFCookie in forum Software Development
    Replies: 6
    Last Post: 03-08-2010, 11:03 AM
  2. Vista - default printer doesn't stay as default
    By Freddie Kang in forum Vista Help
    Replies: 8
    Last Post: 19-04-2010, 03:12 AM
  3. Error while compiling: javac= "cannot find symbol"
    By Harper 21 in forum Software Development
    Replies: 5
    Last Post: 07-01-2010, 08:58 AM
  4. The target principal name is incorrect?
    By Alexyy in forum Active Directory
    Replies: 8
    Last Post: 03-09-2009, 10:17 PM
  5. Javac in Windows
    By fabien in forum Windows Software
    Replies: 3
    Last Post: 02-04-2009, 11:25 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,123,872.51221 seconds with 17 queries