๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Basics/Error

[Eclipse] no java virtual machine was found after searching the following locations

by IworldT 2020. 10. 27.
๋ฐ˜์‘ํ˜•

no java virtual machine was found after searching the following locations : (JDK์œ„์น˜)

๋ผ๋Š” ์—๋Ÿฌ๊ฐ€ ๋–ด๋‹ค! ๊ทธ๋ž˜๋„, ์ง์ž‘๊ฐ€๋Š” ์—๋Ÿฌ์—ฌ์„œ ์‰ฝ๊ฒŒ ํ•ด๊ฒฐ ๊ฐ€๋Šฅํ•  ๊ฒƒ ๊ฐ™์€ ์—๋Ÿฌ์ด๋‹ค. ๋ง ๊ทธ๋Œ€๋กœ, ์„ค์ •๋˜์–ด์žˆ๋˜๋Œ€๋กœ JRE๋‚˜ JDK์˜ ์œ„์น˜๋ฅผ ๋”ฐ๋ผ๊ฐ”๋Š”๋ฐ, ํ•ด๋‹น ํŒŒ์ผ์ด ์—†๋Š” ๊ฒƒ!

๋‚˜๋Š” ์ƒˆ๋กœ์šด java๋ฒ„์ „์„ ์„ค์น˜ํ•œ ๋’ค ์ด์ „ java ํด๋”๋ฅผ ์‚ญ์ œํ•˜์˜€๊ธฐ ๋•Œ๋ฌธ์— ์ƒ๊ธด error๋กœ ๋ณด์ธ๋‹ค.

1. ์ž์‹ ์˜ Java ๋ฒ„์ „์„ ํ™•์ธํ•˜๊ธฐ!

๋ณธ์ธ์ฒ˜๋Ÿผ ์ƒˆ ๋ฒ„์ „์˜ Java๋ฅผ ์„ค์น˜ํ•œ ๊ฒฝ์šฐ๋‚˜ ๊ทธ ๋ฐ–์— Java ํ˜ธํ™˜์— ๋ฌธ์ œ๊ฐ€ ์ƒ๊ธด ๊ฒฝ์šฐ๋ผ๋ฉด, ์šฐ์„  cmd๋ฅผ ์—ด์–ด ์ž์‹ ์˜ ์ปดํ“จํ„ฐ์—์„œ ์ ์šฉ๋˜๊ณ  ์žˆ๋Š” Java์˜ ๋ฒ„์ „์„ ํ™•์ธํ•˜์ž. ๊ฐ„๋‹จํ•˜๋‹ค! cmd๋ฅผ ์‹คํ–‰์‹œํ‚จ ๋’ค,

java -version

์„ ์ž…๋ ฅํ•œ๋‹ค.

๋‚ด๊ฐ€ ์ƒˆ๋กœ ์„ค์น˜ํ•œ 1.8.0 ๋ฒ„์ „์ด ์ ์šฉ๋œ ๋ชจ์Šต์„ ๋ณผ ์ˆ˜ ์žˆ๋‹ค.

2. jdk1.8.0\bin ํด๋” ์ฐพ๊ธฐ!

eclipse์—๊ฒŒ ๋‚˜์˜ jdk ๋ฒ„์ „์„ ์•Œ๋ ค์ฃผ๊ธฐ ์œ„ํ•ด, ์šฐ์„  jdk(๋ฒ„์ „)\bin\javaw.exe๋ฅผ ์ฐพ์•„์ฃผ์–ด์•ผํ•œ๋‹ค. ๋‚˜์˜ ๊ฒฝ์šฐ๋Š”, 

C:\Program Files\Java\jdk1.8.0_261\bin\javaw.exe

์˜€๋‹ค!

3. eclipse ์„ค์น˜ ํด๋” ์ฐพ๊ธฐ!

eclipse.ini ํŒŒ์ผ์„ ์ฐพ์•„์„œ ์ˆ˜์ •ํ•ด์ฃผ์–ด์•ผ ํ•˜๋ฏ€๋กœ, ์„ค์น˜ํ•œ ํด๋”๋ฅผ ์ฐพ์•„์ค€๋‹ค. ๋‚˜์˜ ๊ฒฝ์šฐ๋Š”,

C:\Program Files\Eclipse\eclipse\eclipse.ini

์˜€๋‹ค!

์œ„ ํด๋”์— ๋ณด์ด๋Š” eclipse.ini ํŒŒ์ผ์„ ๋งˆ์šฐ์Šค ์˜ค๋ฅธ์ชฝ>์—ฐ๊ฒฐํ”„๋กœ๊ทธ๋žจ>๋ฉ”๋ชจ์žฅ ์œผ๋กœ ์—ด์–ด์ค€๋‹ค. ๊ทธ ๋’ค, ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •ํ•œ๋‹ค.

๋งŒ์•ฝ ์ € ํŒŒ์ผ์„ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์—†๋‹ค๋ฉด, ๊ด€๋ฆฌ์ž๊ถŒํ•œ ๋ฌธ์ œ์ด๋ฏ€๋กœ ๋‹ค์Œ์˜ ํฌ์ŠคํŒ…์„ ์ฐธ๊ณ ํ•˜๋ฉด ๋œ๋‹ค!

iworldt.tistory.com/9?category=811381

 

[Tomcat ํ†ฐ์บฃ]No output folder, ์ถœ๋ ฅ ํด๋”๊ฐ€ ์—†์Œ

์˜ค๋ฅ˜ : org.apache.jasper.JasperException: ์ถœ๋ ฅ ํด๋”๊ฐ€ ์—†์Œ ๋˜๋Š” org.apache.jasper.JasperException: No output folder tomcat9w.exe์—์„œ start๋กœ ํ†ฐ์บฃ์„ ์‹คํ–‰์‹œํ‚จ ๋’ค localhost:8080์— ์ ‘์†ํ–ˆ๋Š”๋ฐ, ์œ„์™€๊ฐ™..

iworldt.tistory.com

-vm์˜ ์•„๋ž˜์— ์•„๊นŒ ์ฐพ์€ jdk๋ฒ„์ „ ํด๋”์˜ javaw.exe ๊ฒฝ๋กœ๋ฅผ ๋„ฃ์–ด์ฃผ๊ณ , ํ•„์š”ํ•œ ์ตœ์†Œ ์ž๋ฐ” ๊ฒฝ๋กœ์— ์ž์‹ ์˜ ์ž๋ฐ” ๋ฒ„์ „์„ ์ž…๋ ฅํ•ด์ค€๋‹ค. ๋งŒ์•ฝ 11์ด๋ผ๋ฉด, 11๋งŒ ์ž…๋ ฅํ•˜๋ฉด ๋˜๋Š” ๊ฒƒ!

๋!

728x90
๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€