Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse is not working properly
Eclipse is not working properly [message #219990] Thu, 05 July 2007 12:50 Go to next message
Eclipse UserFriend
Originally posted by: tosudharsan.gmail.com

hi,

My Eclipse is not working properly i don't why. I am facing some problems
like the imort of the class is not wrking , not able add the break point
etc...

Can any one help me out.

Thanks in Advance

Sudharsan
Re: Eclipse is not working properly [message #219998 is a reply to message #219990] Thu, 05 July 2007 12:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Sudharsan,

You'll find that the quality of the help is typically directly
proportional to the quality of the information provided in the
question. Here you've not described which version of Eclipse you are
using, which platform you are on, which JVM you are using, or much of
anything else. Most likely you don't have a decent JRE in place.
Looking at the Error Log view will often help to provide details that
will help formulate your question. (Use Window->Show View->Error Log
View if that view isn't showing already.)


Sudharsan wrote:
> hi,
>
> My Eclipse is not working properly i don't why. I am facing some
> problems like the imort of the class is not wrking , not able add the
> break point etc...
>
> Can any one help me out.
>
> Thanks in Advance
>
> Sudharsan
>
Re: Eclipse is not working properly [message #220011 is a reply to message #219998] Thu, 05 July 2007 13:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tosudharsan.gmail.com

Sorry for that.

I am working on Windows Platform with Eclipse 3.2 as SDE

JDK 1.3.1
JRE 1.3

I don't find anything in the error log.
Re: Eclipse is not working properly [message #220018 is a reply to message #220011] Thu, 05 July 2007 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Sudharsan,

I'm not absolutely sure, but I think you might need a 1.4 JDK/JRE.


Sudharsan wrote:
> Sorry for that.
>
> I am working on Windows Platform with Eclipse 3.2 as SDE
>
> JDK 1.3.1
> JRE 1.3
>
> I don't find anything in the error log.
>
Re: Eclipse is not working properly [message #220092 is a reply to message #220018] Thu, 05 July 2007 13:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tosudharsan.gmail.com

Is there any problem with the JDK, because previously i used work with the
same one, now i changed my place and copied my eclipse from old machine.
Re: Eclipse is not working properly [message #220093 is a reply to message #220092] Thu, 05 July 2007 13:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Sudharsan,

Hmmm. Perhaps a 1.3 is fine. I'm not sure. But copying Eclipse is
probably a bad idea. Cached information with absolute addresses in the
"configuration" folder could cause problems. Running with eclipse.exe
-clean might fix those. Or deleting everything except the config.ini in
that folder... Your best bet is to install Eclipse by unzipping the
download rather than copying eclipse from machine to machine. A
workspace is similarly best not copied but rather export the projects
and import them...


Sudharsan wrote:
> Is there any problem with the JDK, because previously i used work with
> the same one, now i changed my place and copied my eclipse from old
> machine.
>
Re: Eclipse is not working properly [message #220094 is a reply to message #220093] Thu, 05 July 2007 13:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

Eclipse states you need at least Java 1.4.2 for v3.2

--
Derek


Ed Merks wrote:
> Sudharsan,
>
> Hmmm. Perhaps a 1.3 is fine. I'm not sure. But copying Eclipse is
> probably a bad idea. Cached information with absolute addresses in the
> "configuration" folder could cause problems. Running with eclipse.exe
> -clean might fix those. Or deleting everything except the config.ini in
> that folder... Your best bet is to install Eclipse by unzipping the
> download rather than copying eclipse from machine to machine. A
> workspace is similarly best not copied but rather export the projects
> and import them...
>
>
> Sudharsan wrote:
>> Is there any problem with the JDK, because previously i used work with
>> the same one, now i changed my place and copied my eclipse from old
>> machine.
>>
Re: Eclipse is not working properly [message #220095 is a reply to message #220093] Thu, 05 July 2007 13:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tosudharsan.gmail.com

Thanks Ed Merks, I will try it out and let you know.
Re: Eclipse is not working properly [message #220101 is a reply to message #220093] Thu, 05 July 2007 14:40 Go to previous message
Eclipse UserFriend
Originally posted by: tosudharsan.gmail.com

I tried the new Eclipse noe it's working fine.

But I want to simple program but it's giving me the exception


I have removed the IP address here.

Program:


public class Test {
public static void main(String[] args) throws Exception {
Connection connection = null;
try {
String driverName = "oracle.jdbc.driver.OracleDriver";
Class.forName(driverName);
String portNumber = "1521";
String sid = "OPF2";
String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber
+ ":" + sid;
String username = "user";
String password = "pass";
connection =
DriverManager.getConnection("jdbc:oracle:thin:@ip:1522:OPF2 ", username,
password);

Statement stmt =
connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
ResultSet.CONCUR_READ_ONLY);
//ResultSet srs = stmt.executeQuery("SELECT frw_i_id FROM frw_i_audit");
ResultSet srs = stmt.executeQuery("select 'x'as frw_i_id from dual");
while (srs.next()) {
String name = srs.getString("frw_i_id");
System.out.println(name );
}

} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (SQLException e) {
e.printStackTrace();
}
}


Exception

java.sql.SQLException: I/O-uitzondering: The Network Adapter could not
establish the connection
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseE rror.java:124)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseE rror.java:161)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseE rror.java:273)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:31 8)
at
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:343)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:147)
at
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDrive rExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:54 5)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Test.main(Test.java:36)
Previous Topic:Bug: Eclipse on linux are not reading my eclipse.ini
Next Topic:removal of 3.2 and install 3.3
Goto Forum:
  


Current Time: Sat Apr 20 01:57:32 GMT 2024

Powered by FUDForum. Page generated in 0.08343 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top