Compiling hibernate source code

Source: Internet
Author: User

1) Installing Gradle,gradle is a maven-like build tool


2) Install the git client.

Clone the source code from the URL https://github.com/hibernate/hibernate-orm


3) The command line enters the local hibernate-orm directory and executes the gradlew.bat Eclipse Command, which will be built.

Solutions to problems that occur when compiling

1.java.lang.outofmemoryerror:java Heap Space

Enter the gradlew.bat file in the hibernate-orm directory to adjust the maximum allocated memory size for the heap.

@rem the ADD default JVM options here. You can also with java_opts and gradle_opts to pass the JVM options to this script.
Set default_jvm_opts= "-xmx1024m"

2.CORE\SRC\MAIN\ORG\HIBERNATE\ANNOTATIONS\SQLDELETE.JAVA:37: Error: Encoding GBK non-mapped characters

Need to go to the Control Panel, modify the regional language inside-admin-change the system locale to English (United Kingdom)


Compiling hibernate source code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.