Results 1 to 2 of 2

Thread: [java problem] eclispse + javaCompilerClass

  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default [java problem] eclispse + javaCompilerClass

    Hello,
    I have to use JavacompilerClass:
    Qt Code:
    1. JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
    2. System.out.print("coimpiler " + compiler);
    To copy to clipboard, switch view to plain text mode 
    That print, prints "null" and here below I read that my VM should use the JDK instead of JRE???
    Qt Code:
    1. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6477844
    To copy to clipboard, switch view to plain text mode 

    How can I solve this problem, please? thanks,
    Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: [java problem] eclispse + javaCompilerClass

    JRE doesn't include a compiler.

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.