Using a different JDK with JBuilder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Oracle3001

    Using a different JDK with JBuilder

    Hi All,

    I have just got JBuidler 8, and I want to use the latest JDK with it. How /
    Can I do this. Also I am building a project using java media api and java 3d
    api, how can I get JBuilder to recognise them?

    Adam


  • Silvio Bierman

    #2
    Re: Using a different JDK with JBuilder


    "Oracle3001 " <adam_hartshorn e@hotmail.com> wrote in message
    news:be9cmf$prf $1@wisteria.csv .warwick.ac.uk. ..[color=blue]
    > Hi All,
    >
    > I have just got JBuidler 8, and I want to use the latest JDK with it. How[/color]
    /[color=blue]
    > Can I do this. Also I am building a project using java media api and java[/color]
    3d[color=blue]
    > api, how can I get JBuilder to recognise them?
    >
    > Adam
    >
    >[/color]

    You cant. JBuilder uses its own embedded compiler (which is never good) so
    you can not make it use a different JDK.

    Netbeans or Gel will allow you to do this (and they are free). Eclipse is
    free and quite nice also but unfortunately also uses its own compiler so it
    can not be upgraded with a newer JDK.

    Silvio Bierman


    Comment

    • Will Wright

      #3
      Re: Using a different JDK with JBuilder

      Is it not just changing the path in preferences? You can chang the JDK
      path. Jbuilder has a JDK which downloads with the tool, accounts for 90% of
      the size of the download. You can set the JDK path to say
      c:\apps\JDK1.4. xxx in the preferences, of the newer JDK that you download
      from SUN.




      "Oracle3001 " <adam_hartshorn e@hotmail.com> wrote in message
      news:be9cmf$prf $1@wisteria.csv .warwick.ac.uk. ..[color=blue]
      > Hi All,
      >
      > I have just got JBuidler 8, and I want to use the latest JDK with it. How[/color]
      /[color=blue]
      > Can I do this. Also I am building a project using java media api and java[/color]
      3d[color=blue]
      > api, how can I get JBuilder to recognise them?
      >
      > Adam
      >
      >[/color]


      Comment

      • Jeroen Wenting

        #4
        Re: Using a different JDK with JBuilder

        [color=blue][color=green]
        > > Hi All,
        > >
        > > I have just got JBuidler 8, and I want to use the latest JDK with it.[/color][/color]
        How[color=blue]
        > /[color=green]
        > > Can I do this. Also I am building a project using java media api and[/color][/color]
        java[color=blue]
        > 3d[color=green]
        > > api, how can I get JBuilder to recognise them?
        > >
        > > Adam
        > >
        > >[/color]
        >
        > You cant. JBuilder uses its own embedded compiler (which is never good) so
        > you can not make it use a different JDK.
        >[/color]
        Complete and utter BS.
        JBuilder has supported JDK switching since version 4 (or maybe earlier).
        Look in the IDE settings (I think, might differ between versions).
        To add an external library, check "required libraries" under project
        properties.
        [color=blue]
        > Netbeans or Gel will allow you to do this (and they are free). Eclipse is
        > free and quite nice also but unfortunately also uses its own compiler so[/color]
        it[color=blue]
        > can not be upgraded with a newer JDK.
        >[/color]
        Another BS. Eclipse doesn't even come with a JDK, so HAS to use an external
        one.
        check window->preferences->Java->installed JREs.

        If you don't know what you're talking about keep your mouth shut...


        Comment

        • Silvio Bierman

          #5
          Re: Using a different JDK with JBuilder


          "Silvio Bierman" <sbierman@idfix .nl> wrote in message
          news:3f0a99ed$0 $49108$e4fe514c @news.xs4all.nl ...[color=blue]
          >
          > "Jeroen Wenting" <jeroen@triplev enture.nl> wrote in message
          > news:3f0a6729$0 $49107$e4fe514c @news.xs4all.nl ...[color=green]
          > >[color=darkred]
          > > > > Hi All,
          > > > >
          > > > > I have just got JBuidler 8, and I want to use the latest JDK with[/color][/color][/color]
          it.[color=blue][color=green]
          > > How[color=darkred]
          > > > /
          > > > > Can I do this. Also I am building a project using java media api and[/color]
          > > java[color=darkred]
          > > > 3d
          > > > > api, how can I get JBuilder to recognise them?
          > > > >
          > > > > Adam
          > > > >
          > > > >
          > > >
          > > > You cant. JBuilder uses its own embedded compiler (which is never[/color][/color][/color]
          good)[color=blue]
          > so[color=green][color=darkred]
          > > > you can not make it use a different JDK.
          > > >[/color]
          > > Complete and utter BS.
          > > JBuilder has supported JDK switching since version 4 (or maybe earlier).
          > > Look in the IDE settings (I think, might differ between versions).
          > > To add an external library, check "required libraries" under project
          > > properties.
          > >[color=darkred]
          > > > Netbeans or Gel will allow you to do this (and they are free). Eclipse[/color][/color]
          > is[color=green][color=darkred]
          > > > free and quite nice also but unfortunately also uses its own compiler[/color][/color][/color]
          so[color=blue][color=green]
          > > it[color=darkred]
          > > > can not be upgraded with a newer JDK.
          > > >[/color]
          > > Another BS. Eclipse doesn't even come with a JDK, so HAS to use an[/color]
          > external[color=green]
          > > one.
          > > check window->preferences->Java->installed JREs.
          > >
          > > If you don't know what you're talking about keep your mouth shut...
          > >
          > >[/color]
          >
          > Selecting a different JDK will only use diferent JARs during compilation[/color]
          and[color=blue]
          > a different JRE during runtime. JBuilder does not allow you to completely
          > replace JDK functionality (javac). The new assert keyword which was
          > introduced in 1.4 could not be used in the JBuilder version that was[/color]
          current[color=blue]
          > at the time (don't remember exactly, think it was version 5). Apart from
          > that the compiler at that time could not read JARs created with the 1.4
          > javac since the class-file version had been upgraded.
          > JDK 1.5 will introduce lots of new language constructs. Upgrading the JDK
          > will be of little use to JBuilder users. They have to wait for the new
          > release from Borland.
          >
          > Bottom line JBuilder does not allow a complete upgrade to the newest JDK[/color]
          in[color=blue]
          > general. In the future, if you decide to post a message in such strong
          > wordings be sure you have all the facts right, otherwise you will look
          > stupid again.
          >
          > Silvio Bierman
          >
          >[/color]

          BTW: Eclipse has an internal Java compiler. For compiling it strictly does
          not need a JDK, it needs a JRE though for access to the standard libraries
          and for launching applications. The same issues as with JBuilder arise when
          newer Java versions are incompatible with the internal compiler.

          Silvio Bierman


          Comment

          • Tone

            #6
            Re: Using a different JDK with JBuilder


            [color=blue]
            >Is it not just changing the path in preferences? You can chang the JDK
            >path. Jbuilder has a JDK which downloads with the tool, accounts for 90% of
            >the size of the download. You can set the JDK path to say
            >c:\apps\JDK1.4 .xxx in the preferences, of the newer JDK that you download
            >from SUN.
            >
            >[/color]
            That's pretty muchwhat I've done so far.

            Comment

            Working...