티스토리 뷰
웹 개발자로써/webservice
GlassFish v3 requires a JDK 1.6 and not a JRE. Please add/select the correct JDK in the Server properties 'Runtime Environment' section.
GsBOB 2010. 9. 8. 09:50I was also experiencing this problem...I installed the bundle from here http://download.java.net/glassfish/eclipse/ the one that supposedly has the jdk bundled. But apparently it either doesn't install it, or doesn't properly configure the bundled eclipse to point to it...So:
1) make sure the jdk is installed. Look in C:\Program Files\Java\jdk1.6.XXXX (mine says 0_16). If that has stuff in it the jdk probably was installed, if not you can grab just the jdk from http://java.sun.com/javase/downloads/index.jsp
2) This is where the error message kinda foobars ya...
- Get eclipse started, ignore the message.
- Go to Window>Preferences
- Then under +Java+Installed JREs hit Add.
- Select 'Standard VM' then Next
- JRE Home = C:\Program Files\Java\jdk1.6.XXXX the rest should fill in automagically. Hit Finish.
- MOST IMPORTANT!!! Click the check box back in the Preferences Window for the new jdk runtime...I don't know why it's necessary, but it definitely is...
3)Still in Preference Window.
- Get to +Server, Runtime Environments
- Select the Glassfish SRE, hit Edit...
- From the JRE drop down grab the JDK and hit Finish
- Hit Okay.
4)Go to the Servers Veiw (probably down by the Console View).
Right click on the Bundled Glassfish...Server and hit restart/start...
Hopefuly this fixes it...
1) make sure the jdk is installed. Look in C:\Program Files\Java\jdk1.6.XXXX (mine says 0_16). If that has stuff in it the jdk probably was installed, if not you can grab just the jdk from http://java.sun.com/javase/downloads/index.jsp
2) This is where the error message kinda foobars ya...
- Get eclipse started, ignore the message.
- Go to Window>Preferences
- Then under +Java+Installed JREs hit Add.
- Select 'Standard VM' then Next
- JRE Home = C:\Program Files\Java\jdk1.6.XXXX the rest should fill in automagically. Hit Finish.
- MOST IMPORTANT!!! Click the check box back in the Preferences Window for the new jdk runtime...I don't know why it's necessary, but it definitely is...
3)Still in Preference Window.
- Get to +Server, Runtime Environments
- Select the Glassfish SRE, hit Edit...
- From the JRE drop down grab the JDK and hit Finish
- Hit Okay.
4)Go to the Servers Veiw (probably down by the Console View).
Right click on the Bundled Glassfish...Server and hit restart/start...
Hopefuly this fixes it...
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Salesforce
- 실수형
- Rails
- java
- LocationManager
- visualforce
- 아이디 텍스트 박스 보안
- 예제
- 안드로이드
- php
- menifast.xml
- 자바
- 일본
- 소스
- 세일즈포스
- Ruby on Rails
- 단어
- 자리 지정
- 일본어 공부
- 일본어
- 다 수
- searchManager
- 홈페이지 작성
- 공부
- Android
- 뷰 크기 조절
- error
- php공부
- Multi MapActivity
- MapActivity
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함