( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0015415528{main}( ).../index.php:0
20.14534720928Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.572614253280Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.572714253224Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.572714253600Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.572714253600Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.572914253696Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.573214293616require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.581414591304GKTemplate->__construct( ).../component.php:31
100.589714760680GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.590714805536require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0015415528{main}( ).../index.php:0
20.14534720928Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.572614253280Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.572714253224Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.572714253600Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.572714253600Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.572914253696Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.573214293616require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.581414591304GKTemplate->__construct( ).../component.php:31
100.593514933480GKTemplateMenu->getMenuType( ).../gk.framework.php:85
win7 jdk 安装 环境变量 配置 javahome
Logo
Print this page

win7 jdk 安装 环境变量 配置 javahome

 

 

在“系统变量”中,设置3属性JAVA_HOME、CLASSPATH、Path(不区分大小写),若已存在则点击“编辑”,不存在则点击“新建”;

b)、JAVA_HOME指明JDK安装路径,就是刚才安装时所选择的路径C:\Program Files\Java\jdk1.7.0_09,此路径下包括lib,bin,jre等文件夹(此变量最好设置,因为以后运行tomcat,eclipse等都需要依*此变量);

 

c)、Path使得系统可以在任何路径下识别java命令,这里,要注意下,path应该是本来就存在的,就不要新建了,找到path,点击“编辑”;在值的最前面加上下面的语句即可。如果覆盖了path变量,将导致的cmd下有些基本的命令会找不到。 
%JAVA_HOME%/bin;%JAVA_HOME%/jre/bin;

 

d)、CLASSPATH为java加载类(class or lib)路径,只有类在classpath中,java命令才能识别,设为: 
.;%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar (要加.表示当前路径) 
%JAVA_HOME%就是引用前面指定的JAVA_HOME;

4、检验安装配置是否正确

点击“开始”,键入“cmd”;

运行“java -version”、“java”、“javac”三个命令

 

Last modified onSaturday, 05 January 2013 13:06

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0007414488{main}( ).../index.php:0
20.07734265224Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07734265224Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.274911456368Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.276011480872Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.276811536200Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.277011563600require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.285211963232K2ControllerItem->execute( ).../k2.php:64
90.285211963232K2ControllerItem->display( ).../BaseController.php:710
100.295512613936K2ControllerItem->display( ).../item.php:78
110.295512613936K2ControllerItem->display( ).../controller.php:19
120.300212984976Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.302113005344K2ViewItem->display( ).../ViewController.php:102
140.367115820480K2ViewItem->display( ).../view.html.php:742
150.367115820480K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.368615993416include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0007414488{main}( ).../index.php:0
20.07734265224Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07734265224Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.274911456368Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.276011480872Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.276811536200Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.277011563600require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.285211963232K2ControllerItem->execute( ).../k2.php:64
90.285211963232K2ControllerItem->display( ).../BaseController.php:710
100.295512613936K2ControllerItem->display( ).../item.php:78
110.295512613936K2ControllerItem->display( ).../controller.php:19
120.300212984976Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.302113005344K2ViewItem->display( ).../ViewController.php:102
140.367115820480K2ViewItem->display( ).../view.html.php:742
150.367115820480K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.368615993416include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.