I´ve downloaded the samples from
https://glassfish-samples.dev.java.net/servlets/ProjectDocumentList?folderID=5214&expandFolder=5214&folderID=0,
but when i try to open the JPA/Criteria example in NetBeans 6.8 and run it I
get the following message:
> init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir:
> C:\Users\Bruno\Desktop\java_sandbox\javaee6\jpa\criteriaQuery\build\web\WEB-INF\classes
Created dir:
> C:\Users\Bruno\Desktop\java_sandbox\javaee6\jpa\criteriaQuery\build\web\WEB-INF\classes\META-INF
Copying 1 file to
> C:\Users\Bruno\Desktop\java_sandbox\javaee6\jpa\criteriaQuery\build\web\WEB-INF\classes\META-INF
library-inclusion-in-archive:
library-inclusion-in-manifest:
Created dir:
> C:\Users\Bruno\Desktop\java_sandbox\javaee6\jpa\criteriaQuery\build\empty
compile:
compile-jsps:
Iniciando Domínio do Personal GlassFish v3 ->TRANSLATION: *Starting
> GlassFish v3 Personal Domain*
Domínio do Personal GlassFish v3 está em execução. ->TRANSLATION: *GlassFish
> v3 Personal Domain is running*
Deployment localizado em
> C:\Users\Bruno\Desktop\java_sandbox\javaee6\jpa\criteriaQuery\build\web
Initializing...
criteriaQuery-client.default-ear:
criteriaQuery-client.bpp-actual-compilation:
Compiling criteriaQuery-client
Compiling 1 source file to
> C:\Users\Bruno\Desktop\java_sandbox\javaee6\jpa\criteriaQuery\criteriaQuery_client\build\classes
C:\Users\Bruno\Desktop\java_sandbox\javaee6\jpa\criteriaQuery\build.xml:13:
> The following error occurred while executing this line:
C:\Users\Bruno\Desktop\java_sandbox\bp-project\command-line-ant-tasks.xml:81:
> C:\glassfishv3\glassfish not found.
FALHA NA CONSTRUÇÃO (tempo total: 1 minuto 14 segundos) ->TRANSLATION: *FAILURE
> IN CONSTRUCTION*
I tried downloading GlassFish v3 for Windows myself to install and use it
from "C:\glassfishv3" instead of using the NetBeans 6.8 built-in one. But
after I open the "glassfish-v3-windows.exe" installer, it extracts the
necessary files, launches java environment and a window appears, saying it's
"initializing" (as in the attached image). But then this window disappear
without any alerts or messages, and all i have left is an empty
C:/glassfishv3 folder (no files there).
What should I do?
--
Atenciosamente,
Bruno Mendes
8º período em Engenharia da Computação
Escola Superior de Tecnologia
Universidade do Estado do Amazonas
(92) 91269828
(92) 36570670