Hi Anthony
I ran the JDK 1.8 build with debug mode (i.e. LOG=debug ) as per the
Troubleshooting portion of the help page
_http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html#troubleshooting_
Still, there is no clue what is going wrong
Please let me know if something is missed out
*Thanks & Regards*
*Dhevendran K*
_____________________________________________
*From:* K, Dhevendran (MSDU)
*Sent:* Thursday, August 22, 2013 10:22 AM
*To:* Anthony Petrov
*Cc:* Thomas, Binoy Samuel (MSDU); openjfx-dev@openjdk.java.net;
Jolapara, Vikram Dhirajlal (MSDU)
*Subject:* RE: OpenJFX 1.8 build issues
Hi Anthony
I would like the right error message once again " Error: Could not find
or load main class com.sun.tools.javac.Main" as shown in the following
message excerpt
====== Right excerpt of the error message =====
zip -q sawindbg.diz sawindbg.map sawindbg.pdb
rm -f sawindbg.map sawindbg.pdb
No docs () for windows
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
## Finished hotspot (build time 00:15:04)
## Starting corba
Compiling 6 files for BUILD_LOGUTIL
Error: Could not find or load main class com.sun.tools.javac.Main ß This
is the issue.
## Finished corba (build time 00:00:12)
## Starting jaxp
## Finished jaxp (build time 00:00:08)
## Starting jaxws
## Finished jaxws (build time 00:00:28)
## Starting jdk
make[2]: *** No rule to make target
`/cygdrive/c/dheva/JavaFX_1_8/SR_jdk8/build/windows-x86_64-normal-server-release/corba/dist/lib/classes.jar',
needed by
`/cygdrive/c/dheva/JavaFX_1_8/SR_jdk8/build/windows-x86_64-normal-server-release/jdk/classes/_the.CORBA.classes.imported'.
Stop.
make[1]: *** [import-only] Error 2
make: *** [jdk-only] Error 2
====== Right excerpt of the error message =====
Am I missing something here ?
Thanks & Regards
Dhevendran K
-----Original Message-----
From: _openjfx-dev-boun...@openjdk.java.net_
<mailto:openjfx-dev-boun...@openjdk.java.net>
[_mailto:openjfx-dev-boun...@openjdk.java.net_] On Behalf Of K,
Dhevendran (MSDU)
Sent: Thursday, August 22, 2013 8:52 AM
To: Anthony Petrov
Cc: Thomas, Binoy Samuel (MSDU); _openjfx-...@openjdk.java.net_
<mailto:openjfx-dev@openjdk.java.net>; Jolapara, Vikram Dhirajlal (MSDU)
Subject: RE: OpenJFX 1.8 build issues
Hi Anthony
With restart, the get_source.sh has passed successfully The configure is
also passed
Now the make files
==============================
## Starting jaxws
## Finished jaxws (build time 00:00:28)
## Starting jdk
make[2]: *** No rule to make target
`/cygdrive/c/dheva/JavaFX_1_8/SR_jdk8/build/windows-x86_64-normal-server-release/corba/dist/lib/classes.jar',
needed by
`/cygdrive/c/dheva/JavaFX_1_8/SR_jdk8/build/windows-x86_64-normal-server-release/jdk/classes/_the.CORBA.classes.imported'.
Stop.
make[1]: *** [import-only] Error 2
make: *** [jdk-only] Error 2
==============================
Please provide your suggestion
Thanks & Regards
Dhevendran K
-----Original Message-----
From: Anthony Petrov [mailto:anthony.pet...@oracle.com]
Sent: Wednesday, August 21, 2013 8:42 PM
To: K, Dhevendran (MSDU)
Cc: Thomas, Binoy Samuel (MSDU); openjfx-dev@openjdk.java.net
<mailto:openjfx-dev@openjdk.java.net>; Jolapara, Vikram Dhirajlal (MSDU)
Subject: Re: OpenJFX 1.8 build issues
Some people reported it took only 5 minutes for them. For me this
usually takes about 30 minutes. Anything longer than 1 hour looks very
suspicious. Also, you may notice that hg clone for the nashorn repo
failed for some reason.
I believe this indicates some sort of a network issue. Please try
re-running the get_source.sh script again and/or clone a new myjdk8 and
run the get_source.sh in this fresh clone.
--
best regards,
Anthony
On 08/21/2013 07:03 PM, K, Dhevendran (MSDU) wrote:
Hi Anthony
Thanks for the information
I am very curious to know the usual time taken to complete the
operation of the command */"/**/bash ./get_source.sh/**/"/* execution
over Internet Please note that the execution of the command " bash
./get_source.sh"
was showing the following message for *more than 5 hours* $ bash
./get_source.sh # Repositories: corba jaxp jaxws langtools jdk
hotspot nashorn
corba: /bin/python -u /usr/bin/hg clone
http://hg.openjdk.java.net/jdk8/awt/corba corba
jaxp: /bin/python -u /usr/bin/hg clone
http://hg.openjdk.java.net/jdk8/awt/jaxp jaxp Waiting 5 secs before
spawning next background command.
corba: requesting all changes
corba: adding changesets
jaxws: /bin/python -u /usr/bin/hg clone
http://hg.openjdk.java.net/jdk8/awt/jaxws jaxws
corba: adding manifests
langtools: /bin/python -u /usr/bin/hg clone
http://hg.openjdk.java.net/jdk8/awt/langtools langtools
corba: adding file changes
jaxp: requesting all changes
Waiting 5 secs before spawning next background command.
jaxws: requesting all changes
jaxp: adding changesets
jaxws: adding changesets
jdk: /bin/python -u /usr/bin/hg clone
http://hg.openjdk.java.net/jdk8/awt/jdk jdk
langtools: requesting all changes
hotspot: /bin/python -u /usr/bin/hg clone
http://hg.openjdk.java.net/jdk8/awt/hotspot hotspot
langtools: adding changesets
Waiting 5 secs before spawning next background command.
jdk: requesting all changes
jdk: adding changesets
./common/bin/hgforest.sh: line 201: inate: command not found
nashorn: /bin/python -u /usr/bin/hg clone
http://hg.openjdk.java.net/jdk8/awt/nashorn nashorn
cat: /tmp/forest.4608/*.pid.rc: No such file or directory
WARNING: /tmp/forest.4608/*.pid.rc exited abnormally.
hotspot: requesting all changes
nashorn: requesting all changes
jaxws: adding manifests
hotspot: adding changesets
nashorn: adding changesets
nashorn: adding manifests
jaxp: adding manifests
nashorn: adding file changes
langtools: adding manifests
jaxws: adding file changes
jaxp: adding file changes
hotspot: adding manifests
jdk: adding manifests
langtools: adding file changes
corba: added 495 changesets with 3466 changes to 1386
files
corba: updating to branch default
corba: 1340 files updated, 0 files merged, 0 files
removed, 0 files unresolved
nashorn: added 485 changesets with 5125 changes to 1859
files
nashorn: updating to branch default
nashorn: 1755 files updated, 0 files merged, 0 files
removed, 0 files unresolved
langtools: added 1937 changesets with 19074 changes to
6603 files
langtools: updating to branch default
langtools: 5878 files updated, 0 files merged, 0 files
removed, 0 files unresolved
jaxws: added 393 changesets with 11830 changes to
6699 files
jaxws: updating to branch default
hotspot: adding file changes
jaxws: 3686 files updated, 0 files merged, 0 files
removed, 0 files unresolved
jaxp: added 474 changesets with 5942 changes to 4223
files
jaxp: updating to branch default
jaxp: 2075 files updated, 0 files merged, 0 files
removed, 0 files unresolved
hotspot: added 5059 changesets with 31931 changes to
4864 files
hotspot: updating to branch default
hotspot: 4014 files updated, 0 files merged, 0 files
removed, 0 files unresolved
Please let me know whether there is short-cut to get all the OpenJDK
1.8 source and its corresponding JavaFX code Thanks in Advance Thanks
& Regards Dhevendran K -----Original Message-----
From: Anthony Petrov [mailto:anthony.pet...@oracle.com]
Sent: Wednesday, August 21, 2013 3:24 PM
To: K, Dhevendran (MSDU)
Cc: Thomas, Binoy Samuel (MSDU);
openjfx-dev@openjdk.java.net<mailto:openjfx-dev@openjdk.java.net
<mailto:openjfx-dev@openjdk.java.net<mailto:openjfx-dev@openjdk.java.net>>;
Jolapara, Vikram Dhirajlal (MSDU)
Subject: Re: OpenJFX 1.8 build issues
I'd go with the Graphics forest for OpenJFX:
$ hg clone http://hg.openjdk.java.net/openjfx/8/graphics myfx8 $ cd
myfx8 $ hg clone http://hg.openjdk.java.net/openjfx/8/graphics/rt
$ cd rt
$ JAVA_HOME=<path-to-jdk8> JDK_HOME=<path-to-jdk8> gradle This should
build the OpenJFX for you. The <path-to-jdk8> should point to a
directory where you've just built your OpenJDK in (specifically, the
sdk (and not jre) image directory somewhere below the
myjdk8/build/<config>/ - you should run `make images` after the
ordinary `make` completes for your OpenJDK in order to generate the
sdk image).
--
best regards,
Anthony
On 08/21/2013 01:31 PM, K, Dhevendran (MSDU) wrote:
> Hi Anthony
> Thanks Anthony for the detailed information. Can you also provide me
> the corresponding JavaFX source
> Note:- I was able to succeed the following steps
>
> * hg clone _http://hg.openjdk.java.net/jdk8/awt myjdk8_ → done
> * bash
> ./get_source.sh
> → In Progress
>
> Please share the corresponding JavaFX source Thanks in Advance With
> Warm Regards Dhevendran K -----Original Message-----
> From: Anthony Petrov [mailto:anthony.pet...@oracle.com]
> Sent: Wednesday, August 21, 2013 1:00 PM
> To: K, Dhevendran (MSDU)
> Cc: Thomas, Binoy Samuel (MSDU);openjfx-dev@openjdk.java.net
> <mailto:openjfx-dev@openjdk.java.net>;
> Jolapara, Vikram Dhirajlal (MSDU)
> Subject: Re: OpenJFX 1.8 build issues On 08/21/2013 10:36 AM, Anthony
> Petrov wrote:
>> Secondly, you're building the JDK in a somewhat strange way. It's
>> much easier than that. Just execute the following commands in your
>> Cygwin command prompt:
>>
>> $ hg clonehttp://hg.openjdk.java.net/jdk8/awt myjdk8 $ cd myjdk8 $
>> bash ./get_source.sh $ cd ..
> A small correction: you don't need this "cd ..". You want to stay in
> the
> myjdk8 directory when running configure/make.
> --
> best regards,
> Anthony
>> $ bash ./configure
>> $ make
>>
>> And that's it. Provided you have all the necessary build tools
>> installed on your system, of course. In most cases you don't need to
>> specify any options for the configure script (other than 32 vs 64
>> bits in case you want to build 32-bit JDK on a 64-bit box). You can
>> find a complete "how-to" document on building OpenJDK at:
>>
>>http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html
>>
>> Please let me know if you still have any issues.
>>
>> --
>> best regards,
>> Anthony
>>
>> On 08/21/2013 08:54 AM, K, Dhevendran (MSDU) wrote:
>>> Hi Anthony
>>> Thanks a lot for your answer.
>>> I also compiled OpenJDK 1.8 source as part of this exercise
>>> independently . I did the following to compile OpenJDK 1.8
>>>
>>> 1. Download OpenJDK 1.8 source and its dependent source
>>>
>>> * OpenJDK 1.8 root-source from
>>> _http://hg.openjdk.java.net/jdk8/jdk8_ àDone
>>> * OpenJDK 1.8 Lang tools Source from
>>> _http://hg.openjdk.java.net/jdk8/tl/langtools_ àDone
>>> * Hotspot 1.8
>>> Source
>>> from_http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e437668ced9d_
àDone
>>> * Corba 1.8 Source from_http://hg.openjdk.java.net/jdk8/jdk8/corba_
>>> àDone
>>> * Jaxp 1.8 Source
>>> from_http://hg.openjdk.java.net/jdk8/jdk8/jaxp_
>>> àDone
>>> * Jaxws 1.8 source from
>>> _http://hg.openjdk.java.net/jdk8/jdk8/jaxws_
>>> àDone
>>> * JDK 1.8 source from _http://hg.openjdk.java.net/jdk8/jdk8/jdk_
>>> àDone
>>>
>>> 2. JDK 1.8 Build environment is created after installing following on
>>> top of *Step-2 *èBuild environment for JKD 1.8 compilation is not
>>> ready yet as we are not able to find Hotspot the source
>>>
>>> * */GnuWin32/* is installed
>>>
>>> 3. Building JDK
>>>
>>> * */Execute the configure for all the all the add-on packages ( such
>>> as Corba ,Hotspot … )/*
>>>
>>> * ./configure
>>> --with-override-langtools=../langtools/langtools-4300c2f5fb1b
>>> --with-override-hotspot=../hotspot/hotspot-e437668ced9d
>>> --with-override-corba=../corba/corba-d411c60a8c2f
>>> --with-override-jaxp=../jaxp/jaxp-a22fe9bd01e6
>>> --with-override-jaxws=../jaxws/jaxws-42211ab0ab1c
>>> --with-override-jdk=../jdk/jdk-f1d8d15bfcb5 > err.txt 2>&1
>>>
>>> * */Execute build /*àThis compilation fails with the following
>>> error
>>>
>>> * Make clean all
>>>
>>> ## Starting jdk
>>> make[2]: *** No rule to make target
>>> `/cygdrive/c/dheva/JavaFX/software/OpenJDK/jdk8-ceefd94ef326/build/
>>> w i ndows-x86_64-normal-server-release/corba/dist/lib/classes.jar',
>>>
>>> needed by
>>>
`/cygdrive/c/dheva/JavaFX/software/OpenJDK/jdk8-ceefd94ef326/build/windows-x86_64-normal-server-release/jdk/classes/_the.CORBA.classes.imported'.
>>>
>>> Stop.
>>> make[1]: *** [import-only] Error 2
>>> make: *** [jdk-only] Error 2
>>> At this point, I have few questions
>>>
>>> * I am not able to compile OpenJDK 1.8 without the “The optional
>>> Packages” [i.e. Jaxws,Jaxp,Corba,Langtools and JDK ].
>>> * In the attempt of compilation of these packages , Class not found
>>> error is thrown pointing the respective source folders
>>>
>>> *Is there any place where I can get more stable OpenJDK 1.8 **(with
>>> JavaFX 1.8 ) ??* Awaiting for your response Thanks in Advance With
>>> Warm Regards Dhevendran K -----Original Message-----
>>> From: Anthony Petrov [mailto:anthony.pet...@oracle.com]
>>> Sent: Tuesday, August 20, 2013 8:26 PM
>>> To: K, Dhevendran (MSDU)
>>> Cc:openjfx-dev@openjdk.java.net
>>> <mailto:openjfx-dev@openjdk.java.net>;
> Thomas, Binoy Samuel (MSDU);
>>> Jolapara, Vikram Dhirajlal (MSDU)
>>> Subject: Re: OpenJFX 1.8 build issues Hi Dhevendran, This is a
>>> mismatch of sources between JDK and FX. Try either cloning a fresh
>>> copy of the FX repo (it's best to always clone both FX and JDK at
>>> the same time, actually), or building with an older JDK build.
>>> --
>>> best regards,
>>> Anthony
>>> On 08/20/2013 06:26 PM, K, Dhevendran (MSDU) wrote:
>>>> Hi
>>>>
>>>> I am facing some issue while building OpenJFX 1.8. The link
>>>>https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
<https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX> is
>>>>followed to build on windows. The following steps are perfumed
>>>>
>>>>
>>>> 1. Download the source from
>>>> :http://hg.openjdk.java.net/openjfx/8/graphics/rt --> Done
>>>>
>>>> o The OpenJFX Code is change verify frequently at this site
>>>>
>>>>
>>>>
>>>> 2. Build environment for OpenJFX is created after doing the
>>>> following installation ( This is the as per the doc ) --> Done
>>>>
>>>> o Cygwin is installed
>>>>
>>>> o DirectX SDK June 2010 is installed
>>>>
>>>> o Microsoft Visual Studio 10 is installed
>>>>
>>>> o Gradle
>>>> v1.4<http://services.gradle.org/distributions/gradle-1.4-all.zip>
>>>> is installed
>>>>
>>>>
>>>>
>>>> 3. Building with Oracle JDK 1.8 binary distribution ==>
>>>> Build went through with some failure with the following message .
>>>> However, the jfxrt.jar is created !!
>>>>
>>>>
>>>> ==================================================================
>>>> =
>>>> =
>>>> ==
>>>> ======================
>>>> :swing:compileJava
>>>> [ant:javac]
>>>>
C:\dheva\JavaFX\software\OpenJavaFX_SRC\rt-3268003fe9c0\rt-3268003fe9c0\modules\swing\src\main\java\javafx\embed\swing\SwingNode.java:496:
>>>> error: SwingNode.SwingNodeContent is not abstract and does not
>>>> override abstract method minimumSizeChanged(int,int) in
>>>> LightweightContent
>>>> [ant:javac] private class SwingNodeContent implements
>>>> LightweightContent {
>>>> [ant:javac] ^
>>>> [ant:javac] Note:
>>>> C:\dheva\JavaFX\software\OpenJavaFX_SRC\rt-3268003fe9c0\rt-3268003
>>>> f e
>>>> 9c0\modules\swing\src\main\java\javafx\embed\swing\SwingNode.java
>>>> uses or overrides a deprecated API.
>>>> [ant:javac] Note: Recompile with -Xlint:deprecation for details.
>>>> [ant:javac] 1 error
>>>> :swing:compileJava FAILED
>>>>
>>>> FAILURE: Build failed with an exception.
>>>>
>>>> * What went wrong:
>>>> Execution failed for task ':swing:compileJava'.
>>>>> Compile failed; see the compiler error output for details.
>>>>
>>>> * Try:
>>>> Run with --stacktrace option to get the stack trace. Run with
>>>> --info or --debug option to get more log output.
>>>>
>>>> BUILD FAILED
>>>> ==================================================================
>>>> =
>>>> =
>>>> ==
>>>> ======================
>>>>
>>>> Please let me know whether I am doing some fundamental mistake.
>>>> Please help me
>>>>
>>>>
>>>> Thanks in Advanve
>>>>
>>>> With Warm Regards,
>>>> Dhevendran K
>>>>
>>>>