IntelliJ IDEA help..

Well , i have found a guide which is "Setting up Generic's suppot"
http://www.jetbrains.com/idea/docs/help/generics/setup.html#manual

When i reached to the part which says
"Tools | Set Up JSR-014 Implementation...."
I go to Tools and i dont find Set Up JSR-014 Implementation.
So i try and use the Manual guide and when i came to the part which says
"File | Settings: IDE Settings: Paths "
I realize that i dont have Path , i have Path Variables , so thats not the same.
Because when i try and click on the Path buttton , i dont get this picture
http://www.jetbrains.com/idea/docs/help/images/generics/setupmanual1.gif
I have no idea what the guide is talking about , because it gives misleading pictures.

I need to know whats the problem with the guide , and whenever i try to make a HelloWorld application i get an error telling me to Setup JDK , i need a guide to tell me how to set it up.
If there is a guide to it please tell me , Thanks.

9 comments
Comment actions Permalink

Hello Yazan,

Unfortunately this guide is for IntelliJ IDEA version 4.5, which is older
than the version that you have. To setup a JDK, you need to download and
install the JDK from java.sun.com (if you haven't already done so), go to
Project Settings | JDKs, press the button and select the directory where
the JDK is installed. Then you need to select this JDK as the JDK for the
project in Project Settings.

Well , i have found a guide which is "Setting up Generic's suppot"
http://www.jetbrains.com/idea/docs/help/generics/setup.html#manual

When i reached to the part which says
"Tools | Set Up JSR-014 Implementation...."
I go to Tools and i dont find Set Up JSR-014 Implementation.
So i try and use the Manual guide and when i came to the part which
says
"File | Settings: IDE Settings: Paths "
I realize that i dont have Path , i have Path Variables , so thats not
the same.
Because when i try and click on the Path buttton , i dont get this
picture
http://www.jetbrains.com/idea/docs/help/images/generics/setupmanual1.g
if
I have no idea what the guide is talking about , because it gives
misleading pictures.
I need to know whats the problem with the guide , and whenever i try
to make a HelloWorld application i get an error telling me to Setup
JDK , i need a guide to tell me how to set it up.

If there is a guide to it please tell me , Thanks.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hey , i thank you very very very much for your help, but i stopped reading when you said
"Project Settings | JDKs" , because i cant find it , if make it more clear like File | Project Settings | JDKs that will be great thanks ;)

EDIT : i mean i cant find Project Settings.

0
Comment actions Permalink

Hello Yazan,

Hey , i thank you very very very much for your help, but i stopped
reading when you said "Project Settings | JDKs" , because i cant find
it , if make it more clear like File | Project Settings | JDKs that
will be great thanks ;)


Which version of IntelliJ IDEA are you using?

It's most likely File | Settings | Project Settings | JDKs

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

first of all , i am using Intellij IDEA the latest version, secondly there is NO JDK after the Project Setting.
I only have Project Structure - Compiler - Project code style - Version Controller - Scopes - GUI Designer - Errors - Status Assistant.

2): Whenever i try going to Compiler - It will be ]]> , and then there is a New button , i click it and then it says "Set up project JDK" and then a menu appears
JSDK
IntelliJ IDEA SDK
Mobile SDK
so i try the JSDK and then it says Select a home directory for JSDK
I try all direcories , but it wont work and it says " the directory selected is not home for JSDK.
Then i choose the Project language level:
5.0
and the Project compiler output is
D:\Program Files\IntelliJ IDEA 6.0\bin\Projects\classes

I HAVE NO IDEA!!!!
OH MY GOD , I AM SO STUPID , MY COMPUTER IS LAGGIN!!!
hehe, Thanks for the help , more help please :)

0
Comment actions Permalink

Hello Yazan,

first of all , i am using Intellij IDEA the latest version, secondly
there is NO JDK after the Project Setting.

I only have Project Structure - Compiler - Project code style -
Version Controller - Scopes - GUI Designer - Errors - Status
Assistant.

2): Whenever i try going to Compiler - It will be <No JDK> , and then
there is a New button , i click it and then it says "Set up project
JDK" and then a menu appears

JSDK

IntelliJ IDEA SDK

Mobile SDK

so i try the JSDK and then it says Select a home directory for JSDK


Up to now, your steps are correct. Did you download a JDK from java.sun.com?
Which exactly version? Where did you install it? Which exactly directory
do you specify?

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I got JDK 6 update 2 , "the latest release" i believe.
http://java.sun.com/javase/downloads/index.jsp

Where did you install it??
In C:\Program Files\Java\jdk1.6.0_02\bin

Which exactly directory
do you specify?
\bin

0
Comment actions Permalink

Hello Yazan,

I got JDK 6 update 2 , "the latest release" i believe.
http://java.sun.com/javase/downloads/index.jsp

Where did you install it??
In C:\Program Files\Java\jdk1.6.0_02\bin
Which exactly directory
do you specify?
\bin


You need to specify C:\Program Files\Java\jdk1.6.0_02 as the JDK home.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hey , it worked just as great , Thanks!
Theres one problem , its that the "HelloWorld.java" has a red line under it
And its all like this
Project
Project
src
HelloWorld.java
with a red line under it , is there something to do ??
And whenever i tried to Run the applictaion i get tons of erros

public class HelloWorld {
public static void main(String[] args) {
system.out.println("HelloWorld");

}
}
Man , thanks for helping me all this way !
I really appreciate it

0
Comment actions Permalink

Hello Yazan,

Hey , it worked just as great , Thanks!
Theres one problem , its that the "HelloWorld.java" has a red line
under it
And its all like this
Project
Project
src
HelloWorld.java
with a red line under it , is there something to do ??


This means that your class (and, consequently, the package containing it
and the project itself) contains errors.

And whenever i tried to Run the applictaion i get tons of erros

public class HelloWorld {
public static void main(String[] args) {
system.out.println("HelloWorld");
}
}


The name of the System class needs to be upper-cased.

Note that asking for general Java development help is off-topic for this
newsgroup.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.