ideaic 安装怎么安装tomcat

阅读(54931)
1)配置tomcat应用服务器
File-&Settings...
Build,Execution,Deployment -&Application Servers
点击"+"号,选择"Tomcat Server"
选中tomcat 的地址,点击OK
2)配置web应用
Defaults-&TomcatServer
点击"+"号,
Server tab页,修改Name ,Applicaton server 下拉框选择刚才配置的Tomcat应用服务器。
Deployment目录选择要部署的web应用,注意此处一定要选到WebContent文件夹,即WEB-INF上的上一级目录:
点击OK,并配置应用的上下文路径:
3)修改编译输出路径。
工程-&右键-&Open Module Settings
选择Paths tab页,将output path:配置到WEB-INF\classes中,否则会找不到类。
4)启动tomcat
阅读排行榜2055人阅读
编程语言(8)
1.&&&&&&下载JDK
JDK下载地址位操作系统,最后下载的文件为jdk-7u45-windows-i586.exe,其中7u65表示版本号。
2.&&&&&&安装JDK
安装过程中主要有下面的一些界面:
把安装目录这里我改为在D:\Java下面。
安装完成后点击“后续步骤”,不知道为什么会弹出出错的对话框,先记录下来。
安装完成后,可以通过java –version命令来确认是否成功安装java:
3.&&&&&&设置环境变量
3.1&&&环境变量
在Windows中,环境变量分为“用户变量”和“系统变量”,它们的区别是,“用户变量”只对当前的用户起作用,而“系统变量”则对系统中的所有用户起作用。如果希望在多个用户之间共享环境变量的设置,可以将这些环境变量设置为系统变量,否则,应该使用用户变量,避免影响其他用户。
环境变量是指在操作系统中用来指定操作系统运行环境的一些参数,比如临时文件夹位置和系统文件夹位置等。环境变量相当于给系统或应用程序设置的一些参数。
编译或运行Java程序时,都是基于命令行的,因此在此之前必须设置一些环境变量的值。有些Java IDE(集成开发环境)内置了JDK,因此使用这些IDE时可以不指定环境变量。还有些程序需要个性化的环境变量(如Apache Tomcat需要JAVA_HOME环境变量)。
3.2&&&PATH和classpath设置
&Path是一个十分重要的系统变量,它的值是一些路径。一般情况下,如果我们想在Dos命令行某个exe的应用程序,则首先要切换到该exe文件所在的目录,然后才能运行。但,如果我们将该exe应用程序所在的目录写入到Path环境变量中,就可以在任意目录下直接运行该exe应用程序。这就是Path的功能。即,当通过Dos命令行运行我们输入的应用程序时,系统会先在当前目录下寻找目标文件,如果找不到,就会去Path中记录的路径去寻找。
而Java的JDK中,其Bin目录下就有许多工具,这些工具都是exe文件,比如常见的javac.exe和java.exe。所以,如果我们想在系统的任何目录下都能调用这些工具,比如想在任何目录下都能编译java源文件,就需要将javac.exe所在的目录(即bin目录),添加到系统环境变量Path中。
⑵classpath
CLASSPATH是编译或运行Java程序时用来告诉Java编译器或虚拟机到哪里查找Java类文件的,我们知道Java虚拟机JVM负责执行Java的类文件,而JVM是如何找到需要执行的class文件呢?这就需要classpath这个环境变量了,JVM会优先去classpath中所记录的路径去按顺序查找目标class文件。如果没有设置classpath这个环境变量,则JVM只会在当前目录下进行查找。
&classpath的设置中,如果设置完路径后,其末尾没有带有分号(;),则表示JVM仅仅只去指定的目录查找类文件,如果找不到,也不会在当前所在目录查找;如果带有分号作结尾,则表示会先去指定目录下查找,若找不到,则会在当前目录下重新查找;而设置中的点号(.),就代表当前目录;
4.&&&&&&IntelliJ IDEA安装
双击运行ideaIC-12.1.4.exe,如下图:
选Next之后,弹出没有SDK的对话框,其中这里SDK就是指JDK:
选择No之后,选择New来选择SDK,
这里我们选择的是JDK1.7,然后选择finish就新建好HelloWorld的工程了,如下图所示
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:1670728次
积分:17190
积分:17190
排名:第428名
原创:225篇
转载:507篇
评论:359条
文章:87篇
阅读:200826
(2)(11)(4)(6)(9)(20)(22)(15)(12)(11)(25)(19)(7)(9)(13)(27)(1)(8)(17)(6)(3)(5)(11)(19)(12)(30)(18)(8)(28)(21)(14)(21)(7)(3)(10)(3)(15)(8)(9)(1)(7)(10)(10)(3)(1)(7)(1)(5)(4)(4)(2)(4)(19)(5)(1)(3)(2)(4)(5)(3)(3)(5)(6)(4)(5)(8)(7)(4)(3)(13)(8)(10)(15)(15)(40)
<a eoe="" android&&&IntelliJ IDEA Community Edition
& current version:
IntelliJ IDEA Community Edition
Build 163.12024.16 / 2017.1 Build 171.2613.7 EAP
17,102 downloads
Updated: February 2nd, 2017
Apache License 2.0 &
Editor&#039;s review
specifications
report malware
&& 20 screenshots
A practical and straightforward program especially designed for developers who need to create and debug mobile and web applications
IntelliJ IDEA Community Edition is a comprehensive and reliable piece of software whose main purpose it to help users develop , ,
or Android applications with ease. It provides a complete set of tools and integrations with the most modern technologies and frameworks in order to improve productivity and efficiency.
When you launch the application for the first time, you are required to create a new project or simply import an existing one. What&s more, you can choose the Configure option if you want to change the file colors, the HTTP proxy or the compiler.
The main window of the application is user-friendly and displays by default the navigation toolbar and the &Project& section that allows you to access all the files.
Since IntelliJ IDEA Community Edition does not support other perspectives like other IDEs do, such as Eclipse, you do not need to switch between different worsk paces in order to perform various actions. It follows your context and brings at your disposal all the corresponding tools.
However, in case you want to work with multiple projects in separate windows, simply drag the editor tab out of the window and start editing only the files you want.
The &Project& section, available in the left panel of the program displays all of the components and libraries used to develop various apps. What&s more, you can easily add new HTML files, analyze all the dependencies and validate the scripts from the right-click menu.
An important editor feature that not so many apps come with is how all your changes are saved. IntelliJ IDEA Community Edition automatically saves your project so you can rest assured that you will not lose any data. Still, if you decide to roll-back some of you changes, you can access the &Local History& option from the right-click menu.
The &Code Completion& feature offers trivial suggestions for variables, expressions or methods used to complete your scripts properly. Since it supports various programming languages such as JavaScript, HTML, CSS, Ruby or Python, the application analyzes the scripts and provides you with detailed suggestions.
Finally, you can export the project as a JAR file so you can access your files using other IDE platforms than IntelliJ IDEA Community Edition, save the current project as a template or generate JavaDoc scopes.
To wrap it up, IntelliJ IDEA Community Edition proves to be a steady solution when it comes to developing mobile and web platforms using intuitive editors.
SYSTEM REQUIREMENTS1 GB RAM minimum, 2 GB RAM recommended
300 MB hard disk space + at least 1 G for caches
minimum screen resolution
New in IntelliJ IDEA Community Edition 2017.1 Build 171.2613.7 EAP:
Among bug fixes, the build brings several notable changes:
ANSI color codes are now supported by the Docker and Google App Engine consoles
The Docker tool windows now allows you to configure visible Docker images and containers
The new inspection Inline else code branch
& IntelliJ IDEA Community Edition was reviewed by
&& && && && &&
&& && && && &&
User comments
& file size:342 MB
& runs on:Windows XP &&& Windows XP 64 bit &&& Windows Vista &&& Windows Vista 64 bit &&& Windows 7 &&& Windows 7 64 bit &&& Windows 8 &&& Windows 8 64 bit &&& Windows 2003 &&& Windows 10 &&& Windows 10 64 bit
& category:C: \
& developer:
& homepage:
&&&Like202K
&&&Follow13K

我要回帖

更多关于 ideaic 安装 的文章

 

随机推荐